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
Hello all,
How to do it in dax or any other way ?
I tried using RELATED(), CROSSFILTER(), LOOKUP(), didnt work out.
I have attached the image of my datamodel.
Solved! Go to Solution.
@Swam80 I would think a column in your dim_product table like this should work:
Column =
VAR __Sold = SUMX(RELATEDTABLE('gdb023 fact_sales_monthly'), [sold_quantity])
VAR __Price = SUMX(RELATEDTABLE('gdb023 fact_sales_price'), [gross_price])
VAR __Result = __Sold * __Price
RETURN
__Result
@Swam80 I would think a column in your dim_product table like this should work:
Column =
VAR __Sold = SUMX(RELATEDTABLE('gdb023 fact_sales_monthly'), [sold_quantity])
VAR __Price = SUMX(RELATEDTABLE('gdb023 fact_sales_price'), [gross_price])
VAR __Result = __Sold * __Price
RETURN
__Result
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 |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |