Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Baba
Frequent Visitor

How to use SWITCH function when using table for Matrix Header

Hello,

Can someone help me fix this issue?

I am using table for Matrix column headers and SWITCH function to bring the values but not able to find a way to bring very last column values because of # 11 (in the SWITCH function snip below).  Is there anyway to tell SWITCH if number is not equal to # 11 and 12? or only bring values if ">=6 and <=10"?

Baba_2-1714351067172.png

 

Baba_1-1714350635198.png

Thanks

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Baba 

 

Try this in your SWITCH

 

DisplayItem >= 6 && DisplayItem <=10, RESULT

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @Baba 

 

Try this in your SWITCH

 

DisplayItem >= 6 && DisplayItem <=10, RESULT

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.