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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a transaction table which is the many side of a one-to-many relationship with a dates table. I created a measure called Distinct Order Count in the Transaction table:
Distinct Order Count = DISTINCTCOUNT('Txns'[Order Num])
It calculates correctly as a single aggregate number, but I need to slice it by year and month to see trends.
So I added 2 slicers - One using the column Year from my Dates table and another using column Month Name. I thought this was okay because I have a one-to-many relationship between Dates and Transactions. But every time I add these slicers, the calculation for 'Distinct Order Count' measure turns to Blank.
Any ideas on why this happens and how I can fix it?
Hi @lisaeugene,
Could you mark the proper answer as a solution, please?
Best Regards,
Dale
Hi @lisaeugene,
One possibility is the relationship is invalid. For instance, one side is Date while the other side is DateTime. Though we can establish a relationship. But it won't work. You can drag the two date columns together to check out.
If this can't solve your issue, please provide a sample of your data.
Best Regards,
Dale
Logically it should work, Can you post some sample date please?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.