Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table that uses two table dates that have an active and an inactive relationship to calendar table.
In my table visualization are measures for Open and Closed that are attached to different dates. I have both working properly with using Userrelationship function for the inactive relationship.
Now I need to add a filter (not slicer) on table to limit the dates. If I use the Year/Mo from the calendar table it only applies to the active relationship values.
How can I add filter where it uses both dates?
Solved! Go to Solution.
@lorasloan , if you apply to the date table, it should work for both, as inactive join can only work using userelationship and at that time it is having join with date.
I stand to be corrected. The issue is with the Month End measure that you actually helped me resolve from another post I made. This is the code for that measure you provided:
Month end = CALCULATE([Open] -[Closed],filter(allselected(date),date[date] <=max(date[Date])))
Since I'm filtering on date for visual, I used 'all' instead of 'allselected' and it is now working properly.
Appreciate your expert knowledge.
@lorasloan , if you apply to the date table, it should work for both, as inactive join can only work using userelationship and at that time it is having join with date.
I stand to be corrected. The issue is with the Month End measure that you actually helped me resolve from another post I made. This is the code for that measure you provided:
Month end = CALCULATE([Open] -[Closed],filter(allselected(date),date[date] <=max(date[Date])))
Since I'm filtering on date for visual, I used 'all' instead of 'allselected' and it is now working properly.
Appreciate your expert knowledge.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 34 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |