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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

percent of total for a calculated measure column

I need the percent of total for current years and prior years columns. I made a measure for Current years that works:

 

Sales % Total = 'Order_Line_Invoice'[SalesSUM]/CALCULATE(sum('Order_Line_Invoice'[Sales]),ALLSELECTED())

 

Prior year is a calculated measure: 

SalesPY =
CALCULATE (
Order_Line_Invoice[SalesSum],
SAMEPERIODLASTYEAR(Dates_INV[Date]))

 

I cannot make the Percent of Total for that. It will not let me apparently use my SalesPY measure in a Calculated Measure. 

 

Recommendations?

 

0 REPLIES 0

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.