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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.