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 dynamic date table, which uses the date from two tables, by using:
DISTINCT( UNION( DISTINCT( Table1[Date].[Date]); DISTINCT( Table2[Date].[Date])))
Then I do some calculations (bring out the years/months/quarters/days/etc). Now, when I try to connect this table to either of the original two (by dragging it in the relationships tab), it goes blank because the original field doesn't retrieve any data (i.e. has no rows in it, it would seem). How do I get around this?
Also, it may not be the best idea to use the formula above to create the date table, so feel free to suggest/link better solutions (although that is not the critical issue, unless it is part of the problem, of course).
Solved! Go to Solution.
You could get around it by using ALL but I would just use CALENDARAUTO.
Just used with Unique Identifiers from 2 tables that refresh weekly.
Replaced date fields in code with the Unique Identifier column.
DISTINCT( UNION( DISTINCT( Table1[UniqueIdentifier]); DISTINCT( Table2[UniqueIdentifier])))
Worked like a charm!
Thanks 🙂
You could get around it by using ALL but I would just use CALENDARAUTO.
Yeah, that seems to do the trick; thanks!
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.