Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am attempting to create a stacked bar chart using data from 2 different tables. Here is a snippet/ example:
Here is the desired result:
There is a relationship between the two tables on Student ID.
Thank you!
Solved! Go to Solution.
@afaherty , Assume Table 2 to Table 1 is 1-M relation
You can have meausre like
Graduated = countrows(Table1)
Certificate= calculate(countrows(Table1) , filter(Table2, Table2[Certificate]="Yes"))
Use these two measures on visual
@afaherty , Assume Table 2 to Table 1 is 1-M relation
You can have meausre like
Graduated = countrows(Table1)
Certificate= calculate(countrows(Table1) , filter(Table2, Table2[Certificate]="Yes"))
Use these two measures on visual
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |