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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.