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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Problems with last three month on a measure

 

Hello everyone,

I have a tabular cube (it is the same problem in Power BI) which looks like follow:

excresult.png

 

 

I want to be able to summarise the last three months and get the result 88279,43431

which is the correct result.

The measure M SEK Multilpied is a measure itself - M SEK Multiplied:=

CALCULATE('Loan Original'[Sum of M SEK] * 'Loan Original'[Sum of M SEK])

Loan Original'[Sum of M SEK] is a column.

I have tried several different ways to summarise the values but it does not succeed. What I get is the same result as totalsumma.

For example I tried this measure but it does not work.

M SEK Multiplied ALLSELECTED:= CALCULATE('Loan Original'[M SEK Multiplied];ALLSELECTED('Date'[Year_Month]))

Best regards Marie

 

 

 

1 REPLY 1
Anonymous
Not applicable

What's this?

M SEK Multiplied:= CALCULATE('Loan Original'[Sum of M SEK] * 'Loan Original'[Sum of M SEK])

You think this is a measure? 'Cause I think this is just rubbish. First of all, CALCULATE is a function that does either context transition or changes filters. Secondly, you cannot put a naked column (or its square) under CALCULATE without some kind of aggregation.

No wonder it does not work...

Best
Darek

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors