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.
In this case I need two months data percentage and after that their difference.
For that I have created a slicer by clicking on month it will result into selected month and previous month percentage.
"Months to Show =
Var Max_Date = MAX('Calendar' [Date])
Var PreviousDates = DATESINPERIOD ('Calender Months to Display'[Date],Max_Date,-2, MONTH)
Var Result =CALCULATE([Total_1 %],
REMOVEFILTERS('Calendar'),
KEEPFILTERS(PreviousDates),
USERELATIONSHIP ('Calendar' [Date], 'Calender Months to Display'[Date]))
Return Result"
This dax will giving two months data.
I need difference column in that. Please help me !
Product | Dec'22 | Jan'23 | Diff |
Mobile | 85.41% | 84.62% | -0.78% |
Laptop | 14.59% | 15.38% | 0.78% |
AC | 3.11% | 3.22% | 0.11% |
Tv | 3.02% | 3.20% | 0.18% |
Bike | 1.62% | 1.73% | 0.11% |
Computer | 1.01% | 1.10% | 0.08% |
Car | 0.97% | 1.12% | 0.15% |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
53 | |
21 | |
13 | |
11 |