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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All
I have a inventory Table , the Raw data file lack of Pro Class Description it only have Pro Class Code , So the report not easy understand.
My Sales Table have Pro Class Code and Description. , Cn some one advise me how to make the Pro Class Descrition appear at Inventory Table.
My PBI file :-
https://www.dropbox.com/s/56sbtewqme7fb7v/PBT_V2021_400%20INVC_TI_.pbix?dl=0
Pau;
Solved! Go to Solution.
Hi @admin11
Since you already have an inactive relationship between Inventory Table and SALES table on pro_class_code columns, you can create below measure to get the pro_class_desc and put it in the table.
Measure 6 = CALCULATE(SELECTEDVALUE(SALES[PRO_CLASS_DESC]),USERELATIONSHIP(SALES[pro_class_code],INVC[PRO_CLASS_CODE]),CROSSFILTER(SALES[pro_class_code],INVC[PRO_CLASS_CODE],OneWay_RightFiltersLeft))
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Hi @admin11
Since you already have an inactive relationship between Inventory Table and SALES table on pro_class_code columns, you can create below measure to get the pro_class_desc and put it in the table.
Measure 6 = CALCULATE(SELECTEDVALUE(SALES[PRO_CLASS_DESC]),USERELATIONSHIP(SALES[pro_class_code],INVC[PRO_CLASS_CODE]),CROSSFILTER(SALES[pro_class_code],INVC[PRO_CLASS_CODE],OneWay_RightFiltersLeft))
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
I have try to test your code with my PBI data , i notice one of the
Hope you can share with me where go wrong ?
Paul
Again, use Power Query.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 20 | |
| 19 |