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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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