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.
I have created a dates table so i can have formatting (I.e for FY start etc) but for some reason the measure is not working fully for the date table
the table on the left is using the month from the date table and the table on the right is using the date from the table the measure is using
I have created a measure which has userelationship
and this is the relationship
why is it not pulling through all the data for the dates?
Solved! Go to Solution.
I see you have two years data in tables. If you drag only Month column into the visual, data in the same month of different years will be aggregated together and makes the running total wrong.
To fix it, you could add a Year-Month column into Date table and use it in the matrix visual. Or add Year into the matrix as Rows field too. Or if you only want to get running total in a selected year, you can add a Year filter or a Year slicer to select a specific year. Then try the following measure:
RT =
CALCULATE (
[Baseline FTE Sum],
FILTER (
ALL ( 'Date Table'[Date] ),
'Date Table'[Date] <= MAX ( 'Date Table'[Date] )
),
USERELATIONSHIP ( 'FTE Milestone Benefits'[Current realisation], 'Date Table'[Date] )
)
This article should be helpful: Running Total in Power BI - Goodly. It calculates running total across all months.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
I see you have two years data in tables. If you drag only Month column into the visual, data in the same month of different years will be aggregated together and makes the running total wrong.
To fix it, you could add a Year-Month column into Date table and use it in the matrix visual. Or add Year into the matrix as Rows field too. Or if you only want to get running total in a selected year, you can add a Year filter or a Year slicer to select a specific year. Then try the following measure:
RT =
CALCULATE (
[Baseline FTE Sum],
FILTER (
ALL ( 'Date Table'[Date] ),
'Date Table'[Date] <= MAX ( 'Date Table'[Date] )
),
USERELATIONSHIP ( 'FTE Milestone Benefits'[Current realisation], 'Date Table'[Date] )
)
This article should be helpful: Running Total in Power BI - Goodly. It calculates running total across all months.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
@abihoughton27 , try a measure like
RT =
calculate(calculate(
[Baseline FTE Sum], USERELATIONSHIP(
'FTE Milestone Benefits'[Current realisation],
'Date Table'[Date]
)),filter(ALLSELECTED('Date Table'[Date]) , 'Date Table'[Date] <= MAX('Date Table'[Date]) ))
@amitchandak unfortunatley that just gives me the total and not the breakdown of the running total
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |