Forum Discussion
MD_POWER_BI
3 years agoFrequent Visitor
Help with nested ifs/using switch
Having difficulty with this function trying to suppress data. I ahve to suppress student counts where n<10, except for school number "0A000A". But, Keep receiving this message: "A single ...
MD_POWER_BI
3 years agoFrequent Visitor
Student_Count_Suppressed =
SWITCH(
True(),
sum(Student_Survey_Topic[Total Students Responded UnSupp])<10 && SELECTEDVALUE(School_Directory_DIM[LEASchool],"0A000A"), "*",
sum(Student_Survey_Topic[Total Students Responded UnSupp])<10 && SELECTEDVALUE(School_Directory_DIM[LEASchool],"0A000A"), sum(Student_Survey_Topic[Total Students Responded UnSupp]),
sum(Student_Survey_Topic[Total Students Responded UnSupp])>=10, sum(Student_Survey_Topic[Total Students Responded UnSupp]))
This doesn't work still
MFelix
3 years agoSuper User
Hi MD_POWER_BI
Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.
If the information is sensitive please share it trough private message.