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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PBX_user
Regular Visitor

how to calculate data and save in different table

I have a situation where I need to calculate data and save it in different table for reporting 

Raw data 

PBX_user_0-1726659440785.png

 

I want result in below format

PBX_user_1-1726659496873.png

 

 

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@PBX_user , Create a new table using DAX go to modelling and create new table and use Summarize

 

SecondTable =
SUMMARIZE(
'FirstTable',
'FirstTable'[Month],
'FirstTable'[State],
"No of Tasks", COUNTROWS('FirstTable')
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

2 REPLIES 2
bhanu_gautam
Super User
Super User

@PBX_user , Create a new table using DAX go to modelling and create new table and use Summarize

 

SecondTable =
SUMMARIZE(
'FirstTable',
'FirstTable'[Month],
'FirstTable'[State],
"No of Tasks", COUNTROWS('FirstTable')
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thank you bhanu_gautam that worked.

I have different set of data as well, how I can create a result set of this data set 

raw data:

PBX_user_0-1726676647470.png

 

Result needed as below:

PBX_user_1-1726676692619.png

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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