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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Kudoed Authors