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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AkankshaRai_123
Frequent Visitor

Create a virtual table using dax which only contain the selected multi select slicer values

I have a category table, and multi select filters contains category column, I am trying to create table using Dax which will only show the data of categories filtered by slicer. Can we do it in PowerBI Ultimate Problem Statement: - If I have 3 categories A, B and C with respective Index column. If my slicer selects A & C, then my virtual Table shows only A and C Category data, by which I will create a measure for Min (Index), for Comparison of Category C vs Category A data. @Microsoft

1 ACCEPTED SOLUTION

In that case you can use something like 

 

CALCULATE(MIN(Table[Index]),ALLSELECTED(Table[Category Name]))

View solution in original post

8 REPLIES 8
AkankshaRai_123
Frequent Visitor

@Rupak_bi 
In the below screenshot, min selected index should show only minimum Index number out of all selected category's Index. 

AkankshaRai_123_0-1725102973944.png

Not sure how can I share the file however, below is the sample data snapshot.

AkankshaRai_123_1-1725103210671.png

P.S. A measure is required which will show the Minimum index value from selected values of Multi Select slicer list. We can do this in Card visual easily, but I need a measure for Matrix visual.

Are you expecting to show a 2 for C ?

Yes, and even if we select more category, it should show the minimum.

In that case you can use something like 

 

CALCULATE(MIN(Table[Index]),ALLSELECTED(Table[Category Name]))

I had tried this and it is working. Thanks

Rupak_bi
Super User
Super User

Hi @AkankshaRai_123 

Here you are creating table using dax. Table doesn't work dynamically based on slicers. 

The table to be created inside a measure and then the required comparison to be done there itself.

Please share some sample data and your desired out put. Will try to solve



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/
lbendlin
Super User
Super User

use VALUES or FILTERS

In the below snapshot, I have created dax based Table 2 which need to give only filtered values from Table.

AkankshaRai_123_0-1725028969037.png

However, that isn't the case.

AkankshaRai_123_1-1725029096456.png

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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