Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 |
---|---|
16 | |
14 | |
13 | |
12 | |
11 |
User | Count |
---|---|
19 | |
16 | |
15 | |
11 | |
9 |