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.
Name | MAJOR | BACKGROUND | STATUS | GENDER |
NICK | ENGLISH | TRADING | STUDENT | F |
JACK | ENGLISH | TRADING | STUDENT | M |
JONHNSON | ENGLISH | TRADING | TEACH | M |
ADA | ENGINEERING | MARKETING | TEACH | M |
MIA | LOGISTIC | SUPPLY CHAIN | TEACH | M |
ELA | INTERNATIONAL ECONOMICS AND TRADING | MARKETING | TEACH | M |
ZERO | LOGISTIC | SUPPLY CHAIN | STUDENT | M |
FISHHING | MATH | MARKETING | STUDENT | M |
LULU | MATH | MARKETING | TEACH | F |
LALO | ENGINEERING | MARKETING | TEACH | c |
I got this table as my database. I would like to create two pie charts that display two team: count of teach team by gender and count of student team by gender.
This chart looks good but once I click on it, the other pie chart other gender turn into 0. As you can see, I select Student Team M and Teach Team F is 0.
I used this two dax functions, Please correct me.
Solved! Go to Solution.
Hi, @tyan
I think you may need to disable the interaction between the two reports.
Please check my sample file for more details.
Related thread:
Change how visuals interact in a Power BI report
Edit Visual Interaction Power BI
Best Regards,
Community Support Team _ Eason
@tyan , Try like
COUNT OF STUDENT = CALCULATE(COUNT(Sheet1[GENDER]),filter(Sheet1, Sheet1[STATUS]="STUDENT"))
COUNT OF TEACH = CALCULATE(COUNT(Sheet1[GENDER]),filter(Sheet1,Sheet1[STATUS]="TEACH"))
Hi, @tyan
I think you may need to disable the interaction between the two reports.
Please check my sample file for more details.
Related thread:
Change how visuals interact in a Power BI report
Edit Visual Interaction Power BI
Best Regards,
Community Support Team _ Eason
User | Count |
---|---|
84 | |
73 | |
70 | |
42 | |
35 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |