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 September 15. Request your voucher.
Hi Team,
I stuck to one scenario. which is when I select more than one in a slicer, it is not working. Below, I list out the details.
I have one disconnected table, like below.
using this table to control a measure using dax
1. Based on grade I have 1 measure [MaxSalaryByGrade].
2. Based on the function, I have 1 measure [MaxSalaryByFunc].
3. Based on the OU I have 1 measure [MaxSalaryByOU].
Now I create another measure to interact with the measure using the above table, like Below.
but this measure does not display any value. why it began like this.
how to achieve this goal.
Thanks in advance.
Solved! Go to Solution.
@Vallirajap , try like
Max = SWITCH( TRUE(),
countrows(interset(values('Currency'[Index]), {4,6})) =2, [MaxSal_G&O],
SELECTEDVALUE('Currency'[Index]) =4, [MaxSalaryByGrade],
SELECTEDVALUE('Currency'[Index]) =5, [MaxSalaryByFunc],
SELECTEDVALUE('Currency'[Index]) =6, [MaxSalaryByOU])
@Vallirajap , try like
Max = SWITCH( TRUE(),
countrows(interset(values('Currency'[Index]), {4,6})) =2, [MaxSal_G&O],
SELECTEDVALUE('Currency'[Index]) =4, [MaxSalaryByGrade],
SELECTEDVALUE('Currency'[Index]) =5, [MaxSalaryByFunc],
SELECTEDVALUE('Currency'[Index]) =6, [MaxSalaryByOU])
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
184 | |
82 | |
65 | |
48 | |
38 |