Forum Discussion
Interactions between Column Chart and Table
- 8 years ago
Thank you for the guidance, your comment about Visual level filter helped.
However measure was not correct. This part in IfAvailable measure:
CALCULATE(MAX ( Table2[Status Start] ))
takes MAX of [Status Start], but in those cases then selected day has more than one room available MAX is wrong function to use.
I found simplier solution to this. In table create Visual level filter of the main measure and set it to "is not blank":
Solution
Working
Your measure is to calculate count of Vacant/Occupied rooms over a full calendar. It should not have relationship to Date table. So it will always ignore Date[Date] filter. In your scenario, you can create a measure to check if a room is available:
IfAvailable =
IF (
CALCULATE ( MAX ( Table[Status_Start] ) ) < MAX ( date[date] )
&& CALCULATE ( MAX ( Table[Status_End] ) ) > MAX ( date[date] ),
0,
1
)
Then add a Visual Level filter on your table visual with above measure. Set IfAvailable is 1.
Regards,
Thank you for the guidance, your comment about Visual level filter helped.
However measure was not correct. This part in IfAvailable measure:
CALCULATE(MAX ( Table2[Status Start] ))
takes MAX of [Status Start], but in those cases then selected day has more than one room available MAX is wrong function to use.
I found simplier solution to this. In table create Visual level filter of the main measure and set it to "is not blank":
Solution
Working