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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
EML_7
Helper IV
Helper IV

Add a Summarize to my measure

Hi, 

I have created the following measure, but I need to have it as a 'Summerization' Sum.

 

Any idea how I can amend my logic so I can include a summarization, please? 

 

Value = 

Calculate(

sum('apps'[total_val]),

'apps'[financialyear] in {"currentfy"}

)

1 ACCEPTED SOLUTION
v-mengzhu-msft
Community Support
Community Support

Hi @EML_7 ,

 

If you are trying to do aggregation again on your measure, you need to put it into a virtual table, using the function summarize, refer to this link for details:SUMMARIZE function (DAX) - DAX | Microsoft Docs

 

Using your data as an example, you can write a MEASURE similar to the following:

measure=
var _tab=summarize('Table',cloumn1,column2,"sum",[value])
return sumx(_tab,sum)

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-mengzhu-msft
Community Support
Community Support

Hi @EML_7 ,

 

If you are trying to do aggregation again on your measure, you need to put it into a virtual table, using the function summarize, refer to this link for details:SUMMARIZE function (DAX) - DAX | Microsoft Docs

 

Using your data as an example, you can write a MEASURE similar to the following:

measure=
var _tab=summarize('Table',cloumn1,column2,"sum",[value])
return sumx(_tab,sum)

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@EML_7 , Summarization or aggregation is already summed for this measure what else do you want

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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