Forum Discussion
A Common Modelling Scenario That Got Me Stumped
- 1 year ago
For REQ1 you could add any fields you wanted to display into the fact table, e.g. Arrival Name, Dest Name, Arrival Code, Dest Code.
For filtering the measures you could have a single, disconnected, airports table and create a calculation group with a calculation item like
Airport Filter = VAR SelectedAirports = VALUES ( Airports[Code] ) VAR Result = CALCULATE ( SELECTEDMEASURE (), KEEPFILTERS ( 'Fact'[Arrival Code] IN SelectedAirports || 'Fact'[Destination Code] IN SelectedAirports ) ) RETURN ResultUse this as a filter on any visuals where you want that behaviour, or potentially as a report level filter if you want it everywhere.
Hi connelvalentine ,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Chaithra E.