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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
graceste
Frequent Visitor

sum of a measure is false

Hallo, I've been struggling with this thema for a while, 

would appreciate any help,

the measure returns value that i've expected (last available), but the sum is false

Measure = CALCULATE(sum(fValue[PR Value]);FILTER(ALLEXCEPT(fValue;'Prognose for Day');fValue[data from]=max('Prognose for Day'[for Date])))

 

pbix unten

https://www.dropbox.com/s/wm7klycl3e0od6r/TEST%20DayValue.pbix?dl=0

 

regards

grace

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@graceste,

Create a new measure using DAX below.

Measure 3 = IF(COUNTROWS(VALUES('Prognose for Day'[for Date]))=1,[Measure],SUMX(VALUES('Prognose for Day'[for Date]),[Measure]))

1.PNG

Regards,
Lydia

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@graceste,

Create a new measure using DAX below.

Measure 3 = IF(COUNTROWS(VALUES('Prognose for Day'[for Date]))=1,[Measure],SUMX(VALUES('Prognose for Day'[for Date]),[Measure]))

1.PNG

Regards,
Lydia

Hi Lydia,

 

Measure3 works perfekt, I have changed it only a littele bit

 

Measure 4 = if(COUNTROWS(VALUES('Prognose for Day'[for Date]))=1;[Measure 2];SUMX(VALUES('Prognose for Day'[for Date]);[Measure 2]))

 

where Measure 2 is

Measure 2 = if(sum(fValue[PR Value])=BLANK();[Measure];sum(fValue[PR Value]))

 

Thanks again 

Best regards

grace

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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