1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Power Pivot and Cross Join

Discussion in 'Power Pivot, Power Map etc' started by Vikram554, Mar 19, 2017.

  1. Vikram554

    Vikram554 New Member

    Messages:
    4
    Hi,
    I am doing a project where I have to create a list of all possible combination from a set of rows and columns. The problem is the number of rows are not the same in each and every column. This created blank cells when the cross join is obtained. I want to give numbers to all the possible combinations but the rows that are having blank cells should not be numbered. When using filters I am not getting continuous numbers which should not be the case. Is there any way we can solve this?

    Also to mention the Original table keeps changing from tie to time. For example if today I don't have Apple then it is to be removed Or if a student doesn't come or a new student may be added.

    I have uploaded a excel file to demonstrate my case. I used DAX coding and power pivot to do the CROSSJOIN.

    Thanks in Advance.

    Attached Files:

  2. Chihiro

    Chihiro Well-Known Member

    Messages:
    3,677
    CROSSJOIN operation is best done in PowerQuery stage (before it's loaded to PowerPivot).

    Search for Cartesian Join in the forum and you should find examples where I used PowerQuery to do the operation.

Share This Page