Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have the following situation:
Table1:
Material | Qty |
SB340 | 800 |
Table2:
Components | Lvl Above |
SB340 | SB330 |
SB330 |
I want to create a measure that shows 800 associated to the components SB330.
the two tables do not have reletionship due to additional complexities of the model.
regards
Solved! Go to Solution.
Ok, I think I got it:
I broke it up in two measure:
M1=CALCULATE(SUM(table1[Qty]),Table1[Material] IN VALUES(Tabl2[Components]))
M2 =CALCULATE(M1,ALL(Table2),Table2[Lvl Above] IN VALUES(Table1[Components]))
Ok, I think I got it:
I broke it up in two measure:
M1=CALCULATE(SUM(table1[Qty]),Table1[Material] IN VALUES(Tabl2[Components]))
M2 =CALCULATE(M1,ALL(Table2),Table2[Lvl Above] IN VALUES(Table1[Components]))
Hi, can you have inactive relationship between the two? Just create the relationship, but it shall be inactive.
Then you can write a formula:
Qty=
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
9 | |
9 |