Forum Discussion
Mr_Robot0092
Helper I
3 years agoNeed Assistance with DAX Measure: Filtering Students by Selected Classes
Hello, I have 2 tables Student and Class , a student can have multiple Class then i create a table called Enrollement to manage the many to many. As bellow a simple of the data : Student: ID ...
Ashish_Mathur
Super User
3 years agoHi,
You may download my PBI file from here.
Hope this helps.
Mr_Robot0092
Helper I
3 years agoHello Ashish_Mathur
Thanks for replying.
Your solution doesn't answer to my question.
The idea is display a table with Class and Cout of student Like as bellow :
i filtered on class Math & German :
| Class | CountStudent |
| MAth | 2 |
| German | 2 |
Thanks for your help !
- Ashish_Mathur3 years ago
Super User
Hi,
Shouldn't the answer be 3? John, Merida and Patrick. Each one of them has take either only German or only Math or only Both German and Math
- Mr_Robot00923 years ago
Helper I
Hi Ashish_Mathur ,
Sure John, Merida and Patrick are the good answer.
But in my case i have a table with a Class dimension and count Student the result will be like as bellow :
Class CountStudent Math 2 German 2 - Ashish_Mathur3 years ago
Super User
I am completely confused. On one hand you so that the answer should be 3 but in the table you show 2.