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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nkrajacic
Advocate I
Advocate I

Creating Matrix of Calculated Value Ranges

Hello,

I am attempting to replicate a matrix similar to that below which calculates a vendor's spend for a specified time period and then classifies the suppliers into spend ranges. I believe I need to create a calculated column but I am not certain of how to do so for the ranges. Greatly appreciate any guidance. 

 

Capture.PNG

 

 

 
 
1 ACCEPTED SOLUTION

Try replacing COUNTROWS(_filteredTable) with COUNTROWS ( DISTINCT ( SELECTCOLUMNS ( _filteredTable, "col", [VendorColumnName] ) ) )




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

16 REPLIES 16

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.