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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
pieterhkruger
Frequent Visitor

Summation of measure field across groups

Hi,

 

In the following table, the values in the last column are calculated values (based on the two columns to the left, that are also calculated measures).  I now want to obtain the sum of them by date, e.g.: 2.62+0.37+4.22 for 2017-01;  2.05+0.44+3.50 for 2017-02, etc.

Power BI Table.GIF

Eventually I want the sum totals per date, without having to display the breakdown by category (VAR_CATEOGRY column) in the table.

 

I have no idea how to proceed.

 

Is there a way to share the PBIX file?  Or should I share the data format & DAX formulas used for all the measures?

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @pieterhkruger 

you could share your pbix-file to third-party cloud like https://uploadfiles.io/ and share thelink here

for your task maybe it would be enough to use ALLEXCEPT() statement like

Measure = 
CALCULATE(SUM([Stability Index Factor), ALLEXCEPT('Table', 'Table'[DEV REC Capture month]))

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Hi,

 

I've uploaded another file:  http://ufile.io/sfw9aa90

 

What I've tried to do in this newly uploaded file is to create a table using DAX, replicating what I've done in the individual measures.  As a result I get exactly what I want (see below), but with one major problem: it remains static, i.e.:  it is unaffected by selections from the slicers.  So, if there is a way to get the DAX-created table to be affected by selections on the slicers, then I have my solution ...

 

Power BI Table 2.GIF

 

 

Thanks.

 

I have uploaded the PBIX-file to: https://ufile.io/ztr3elwa

The option SUM([Stability Index Faxtor]) does not work, presumably because [Stability Index Faxtor] is a calculated field.

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.