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
Hi All,
I am trying to write a DAX measure to get a flag which shows a service date (from Fact_Service table) greater than then upgrade date (from Fact_Member table). There is a Member dimension table between these two fact tables like below -
This is the output that I want to achieve in PowerBI-
There are multiple upgrades for each member and of course multiple services for each member in both fact tables.
But atm I only need the latest upgrade date to compare with all service dates for simplicity.
Any ideas how to do it? thanks
Hi @mocha911 ,
I assume that the dimension table has 2 one-to-many relationships with 2 fact tables.
Here is my sample data.
Please try this measure
Measure 3 = IF( SELECTEDVALUE('Fact services'[Service Date])> SELECTEDVALUE('Fact member'[Upgrade Date]),1,0)
Result
Best Regards,
Wearsky
Thank you for the suggestion Wearsky,
I tried your measure but it shows an error - "Visual has exccede the available resources"
I am guessing the data is too big to do such an action? any other advices? thanks
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |