Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
FRG
Resolver I
Resolver I

Create a new table in dax

Hi,

From this existing table:
Capture.JPG
 
Can I create a new table who would look like this? If it's possible, I would like to filter the row of the original table when User 2 is blank.
Capture1.JPG
Thanks!
1 ACCEPTED SOLUTION

@FRG  I thought you will share a sample. Anyways. I created one and put down solution.

File

Screenshot 2019-09-30 22.15.49.png

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

Union and summarize table should help you. Later you can add the index column in this new table. Example

 

 

Balance Sheet = union(SUMMARIZE(Sales,Sales[Brand],"Col1",sum(Sales[Sales]),"Col2",sum(Sales[COGS]),"sort",COUNTROWS(Sales)),SUMMARIZE(Sales,Sales[Brand],"Col1",sum(Sales[Sales1]),"Col2",sum(Sales[COGS1]),"sort",COUNTROWS(Sales)))

 

 

 

Hi @amitchandak ,

do you have any sample data to share to show the original tables?

Thanks

@FRG  I thought you will share a sample. Anyways. I created one and put down solution.

File

Screenshot 2019-09-30 22.15.49.png

@FRG I would like to ask what you are trying to achieve by creating this new table? May be the your needs can be addressed with DAX measure or may be transforming the data in power query.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks @amitchandak , thats what I need!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.