The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table
Name | Skill |
A | Automotive |
A | Amazon RDS |
B | Amazon RDS |
B | Automotive |
C | Amazon RDS |
C | Automotive |
C | Azure |
I needed help with creating a measure based on below criteria:
A slicer(Skill) selection needs to be created such that upon selecting 1 or more skill the common set of Name values will be printed
a table visual. Also the same condition I need to put it up on card visual to show the number of the unique count of Name.
For example : If I select 'Automotive' and 'Amazon RDS' from skill slicer I should get A,B,C as values since all of them have commonality of skill in them but if I select 'Automotive' and 'Amazon RDS' and 'Azure' then I should get no values since all 3 skills are not present for any employee at the same time
Solved! Go to Solution.
Hi @Greg_Deckler , can you please help me with the code . I tried at my end but not getting the correct outcome. This is the code :
@powerbidev123 I built one of those once. Not the only way to do it but one way: (1) Patient Cohort (AND Slicer) - Microsoft Fabric Community
Hey @Greg_Deckler thanks for the resource. It helped me solve the ANDing part. However I had doubt if I want to just return the names without concatenate at the end but just return only names how can I do that. Because I would be using that measure in place of my old name column
@Greg_Deckler basically i want to use it as a column which I can use it in a table visual along with other fields
@powerbidev123 I would combine that approach with The Complex Selector. Essentially, you just need to grab the MAX value of the Name column and check to see if it is IN the table prior to CONCATENATEX. The Complex Selector - Microsoft Fabric Community
Hi @Greg_Deckler , can you please help me with the code . I tried at my end but not getting the correct outcome. This is the code :
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |