Forum Discussion
Measure not populating Rows and only showing Total
- 1 year ago
First, make sure that your calendar table is marked as a date table. Also, make sure that all the relationships with the calendar table are single direction.
Go into DAX Query view and run
DEFINE VAR _Filter = TREATAS ( { ( 2024, "December" ) }, 'Calendar'[Year], 'Calendar'[Month] ) EVALUATE SUMMARIZECOLUMNS ( ROLLUPADDISSUBTOTAL ( Dim_Application[Application], "Is Total" ), _Filter, "@num days", COUNTROWS ( DATESYTD ( 'Calendar'[Date] ) ) )You should see the same number for each application and in the total row. If you don't then somehow a filter is getting from dim_Application to the calendar table.
First, make sure that your calendar table is marked as a date table. Also, make sure that all the relationships with the calendar table are single direction.
Go into DAX Query view and run
DEFINE
VAR _Filter =
TREATAS ( { ( 2024, "December" ) }, 'Calendar'[Year], 'Calendar'[Month] )
EVALUATE
SUMMARIZECOLUMNS (
ROLLUPADDISSUBTOTAL ( Dim_Application[Application], "Is Total" ),
_Filter,
"@num days", COUNTROWS ( DATESYTD ( 'Calendar'[Date] ) )
)
You should see the same number for each application and in the total row. If you don't then somehow a filter is getting from dim_Application to the calendar table.
Hi johnt75
That's for your support, one of the relationship was both direction and once i changed that to single it worked
Thanks for your help much appreciated