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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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