I have following data model:
Table: Contract
Table: Rooms
Table: Cluster
& table: Date (standard calendar table)
My fact table is Contract, which has relation to Rooms via ContractID.
What I need to do is following:
select yyyy-mm on date slicer in PBI (single selection)
read out selected value - last day of selected month: CALCULATE ( MAX ( Date[Date] ), ALLSELECTED ( Datum ) )
show all valid Contracts based on date selection (previous step)
additionally show Amount of rooms based on date selection
show also RangeDesc from table Cluster based on date selection
Example:
selected value in date slicer: 2020-12
contract valid = Yes
Amount of rooms: 5 ; Desc: Medium
new selected value: 2021-02
contract valid = Yes
Amount of rooms: 6 ; Desc: Large
Could you please help me with DAX?
Thanks!