Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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])
)
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
101 | |
76 | |
64 | |
63 |
User | Count |
---|---|
141 | |
104 | |
101 | |
80 | |
67 |