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.
Hello Team,
I am playing around with Microsoft's sample Contoso Retail database and stuck with how the following expression works.
1. As first parameter to ADDCOLUMN'S function, I have used ALL(Sales) which is a virtual table.
2. All(Sales) doesn't have physical relationship with products table.
3. But I can use related function on All(Sales) to access the product[brand] column.
However, if I substite ADDCOLUMN function's first paramemter to a table with subset of columns like the following, it produces an error stating that there is no relationship.
The codes are for my educational purposes and it wouldn't make much sense.
What I am trying to understand is
1. related function works on the virtual table with all the columns and
2. If I use only subset of columns for the virtual table, the related function does not work any more.
I would really appreicate any help.
Hi @dnjtdjq ,
Based on my test, even if you put all columns into ALL() function, it will also not work.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
46 | |
22 | |
20 | |
15 | |
13 |
User | Count |
---|---|
49 | |
41 | |
39 | |
19 | |
19 |