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

Using the Total of a measure in another measure/calculation

How can I use this Total highlighted below in another Measure/Calculation?

 

This is my measure

 

PLIQ Rolling =

CALCULATE(SUM('NetSuite_P&L_Monthly'[Paint Liquids Rolling 12]), DATESINPERIOD(DateDimension[Date],
LASTDATE(DateDimension[Date]),-12,Month
)
)

measure-total.png

 

The next step is to divide this Total number by how many months make it up which I have done inside the measure unfortunately it divides each row by the total number of months instead of just the total 😞

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

I am unsure about the Months Calculation that you have mentioned, But if you require to divide the Total SUM then use the calculation :

CALCULATE(SUM(Rolling_Sum),ALL(Table_Name))

Anonymous
Not applicable

Will do thanks. I think I got my answer anyway

v-anabat
Employee
Employee

Hi, 

 

Please always prvoide some sample data in either text or table format along with snippets. A snippet doesn't alow the users to copy the data readily and and do a qucik analysis.So it may reduce the probability of your question being answered. 

 

Regards,

Ananth

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