Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have the following senerio. I am looking for PATDOB's that have all three B, MR and O. Is there any way the I could use a calculation or filter to only include PATDOB's that contain all three (B,MR,O). I am not sure if it is possible to use some type of subtotal in this situation and then filter on that. Any help would be great. Thanks!
rio
Solved! Go to Solution.
@tstackhouse,
Create the following columns in your table.
Column = IF(Table[Opiod/Benzo/MusicRe]="(Blank)" || Table[Opiod/Benzo/MusicRe]="",0,1)
Checkcolumn = CALCULATE(COUNT(Table[Column]),FILTER(ALLEXCEPT(Table,Table[PATDOB]),Table[Column]=1))
Then drag the Checkcolumn to Visual level filters of Matrix visual and set its value as follows.
Regards,
Lydia
@tstackhouse,
Create the following columns in your table.
Column = IF(Table[Opiod/Benzo/MusicRe]="(Blank)" || Table[Opiod/Benzo/MusicRe]="",0,1)
Checkcolumn = CALCULATE(COUNT(Table[Column]),FILTER(ALLEXCEPT(Table,Table[PATDOB]),Table[Column]=1))
Then drag the Checkcolumn to Visual level filters of Matrix visual and set its value as follows.
Regards,
Lydia
Hi,
Share the link from where i can download your file.
Hey,
I would create this DAX statement to create a calculated column
Column = IF( OR(OR('Table1'[B] = "", 'Table1'[MR] = ""),'Table1'[O] = "") ,"Some thing is missing" ,"Everything is there" )
This would create this result
Then it simple to use this column to filter the rows you want.
Hope this helps
Regards
Tom
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |