The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
12 | |
7 | |
5 |