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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.