Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have this 3 tables.
My current script is sumx(Quantity,Quantity[Sales] * )
When I use the relate table it doesnt show the 2nd table.
Not sure where I go wrong.
Solved! Go to Solution.
Hi,
I am not sure how the year table is related, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Expected result measure: =
SUMX (
ADDCOLUMNS (
CROSSJOIN ( VALUES ( 'Year'[YEAR] ), VALUES ( CPTMODE[CPTMODE] ) ),
"@sales", CALCULATE ( SUM ( Quantity[Sales] ) ),
"@market%", CALCULATE ( SUM ( Market[Market%] ) )
),
[@sales] * [@market%]
)
Hi,
I am not sure how the year table is related, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Expected result measure: =
SUMX (
ADDCOLUMNS (
CROSSJOIN ( VALUES ( 'Year'[YEAR] ), VALUES ( CPTMODE[CPTMODE] ) ),
"@sales", CALCULATE ( SUM ( Quantity[Sales] ) ),
"@market%", CALCULATE ( SUM ( Market[Market%] ) )
),
[@sales] * [@market%]
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 10 | |
| 10 | |
| 9 | |
| 8 |