Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Full error:
"The query referenced a relationship between 'Fact_tb'[dimension] and 'Dimension_tb'[Dimension], which depends on a column that is not in a valid state."
I've created a calculated table based on two fact tables, pulling a distinct of a column (present in both) wich is the dimension I desire to have in a single table. Then used Union on both Distinct Columns and used Distinct again, to get a single usable result. DAX:
What else to do?
Hello @dlopesc04,
Can you please try this simplified DAX:
Dimension_tb = DISTINCT(
UNION(
SELECTCOLUMNS(Fact_tb, "dimension", Fact_tb[dimension]),
SELECTCOLUMNS(Fact_tb2, "dimension", Fact_tb2[dimension])
)
)
User | Count |
---|---|
100 | |
89 | |
82 | |
76 | |
71 |
User | Count |
---|---|
113 | |
104 | |
100 | |
73 | |
65 |