Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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])))
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
120 | |
101 | |
71 | |
61 |