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.
Hi all!
I have a Hierarchy like this:
Month
Day
What I want to do is when user drilldown from month to hierarchy Day, the value changes.
This is my DataTable:
Fecha(d/m/y)|ValuesPerDay|ValuesPerMonth
01-01-2017|3|50
02-01-2017|4|50
03-01-2017|2|50
01-02-2017|1|40
I want to show in month the average of ValuesPerMonth and for day i want to show each value that corresponds to each day from ValuesPerDay(the Date is in X axis of Line Chart).
How can I do this?
Regards,
Julián
Solved! Go to Solution.
Hi,
you can use the measure like below which will display sum for individual days and Average for the month.
Measure2 = IF(HASONEVALUE('Calendar'[Date].[Day]),SUM(Sales[Revenue]),IF(HASONEVALUE('Calendar'[Month]),SUM(Sales[Revenue])/30,SUM(Sales[Revenue])))
Hi,
you can use the measure like below which will display sum for individual days and Average for the month.
Measure2 = IF(HASONEVALUE('Calendar'[Date].[Day]),SUM(Sales[Revenue]),IF(HASONEVALUE('Calendar'[Month]),SUM(Sales[Revenue])/30,SUM(Sales[Revenue])))
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 |
---|---|
105 | |
96 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |