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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Nazdac911
Helper II
Helper II

Create a filtered column using measures and overcome "A table of multiple values was supplied ..."

Hi all 

I need to build a matrix visual that is connected to a slicere 

The slicers is nested that contains two inputs : slic1 and slic2 

The matrix visual rows are  slic1 and slic2  and the value inpute is a filter column "fc "

fc is a measure that being calculated like this: 

fc = 

  CALCULATETABLE(VALUES('table'[col_1]),table'[col_2]="filter value")
 
The problem that this work for a specific combination of slic1 and slic2 , but for some combination the visual break down and give me the follwoing error message 
Nazdac911_0-1674208494316.png

I think I koow why , but is their a way to solve this , 
Ps : all columns are text columns 

Regards 

 

3 REPLIES 3
Nazdac911
Helper II
Helper II

Solver 🙂 

CALCULATE(MIN('table'[col_1]),table'[col_2]="filter value")

Mahesh0016
Super User
Super User

@Nazdac911 
you use calculatetable that's why it's give you error.

 

column =CALCULATE(VALUES('table'[col_1]),table'[col_2]="filter value")

@Nazdac911 If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.

Thank you for the fast reply 
unfotunality , even with calculate , after playing a little with the nested slicers I could find a compination that casue an error 😞 

is their is a way to use MAX or MIN to prevent this error ? 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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