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
Martin2024
New Member

Read values ​​from filter (Mass Filter Slicer)

Hello everyone,

 

is it possible to read the values ​​that were entered into the Mass Filter Slicer?

 

Martin2024_1-1734699202268.png

 

If not, you can somehow read the values ​​that are displayed in the filter icon for a table?

 

Martin2024_0-1734698941170.png

What I want to achieve in the end is to show the user the values ​​where there were no hits.

 

Example:

User-Imput in Mass Filter Slicer

12345

23456

3456

 

Hit in the data table

12345

23456

 

Display in a text field or card visual

No Data for 3456

 

Is this even possible in Power Bi?

 

Thank you for your support and best regards

Martin

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from MFelix , please allow me to provide another insight:

Hi, @Martin2024 
Thanks for reaching out to the Microsoft fabric community forum.

Regarding the issue you raised, my solution is as follows:

1.Firstly, I created the following test data:

vlinyulumsft_0-1734938895186.png

2.Secondly, I created the following calculated table to be used as a Mass Filter Slicer:

Table = VALUES('data table'[date])

vlinyulumsft_1-1734938925318.png

Please ensure that no relationships are established between the new table and the original table:

vlinyulumsft_2-1734938925318.png

3.Next, I created the following measures:

Measure = IF(MAX('data table'[date]) IN VALUES('Table'[date]),0,1)

4.And applied them to the visual objects:

vlinyulumsft_3-1734938953629.png

5.Here's my final result, which I hope meets your requirements.

vlinyulumsft_4-1734938953630.png

Please find the attached pbix relevant to the case.

 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
MFelix
Super User
Super User

Hi @Martin2024 ,

 

I believe this is not possible since the DAX calculations are based on the context of the data and not on the text values that you write in your visualizations, in this case the Mass Slicer.

 

For this you would need for example to use Deneb to create a custom visual that would allow you to add the filter and have the calculation for each line of the written data. But not sure if this is possible also.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi @MFelix ,

many thanks for your response. Unfortunately, I had this assumption too, but I was hoping that you could still get the information somehow, since it is displayed with the filter symbol on the table.

 

Maybe someone else has another idea on how to implement my plan?

 

I wish everyone a merry Christmas.

 

Best regards
Martin

Anonymous
Not applicable

Thanks for the reply from MFelix , please allow me to provide another insight:

Hi, @Martin2024 
Thanks for reaching out to the Microsoft fabric community forum.

Regarding the issue you raised, my solution is as follows:

1.Firstly, I created the following test data:

vlinyulumsft_0-1734938895186.png

2.Secondly, I created the following calculated table to be used as a Mass Filter Slicer:

Table = VALUES('data table'[date])

vlinyulumsft_1-1734938925318.png

Please ensure that no relationships are established between the new table and the original table:

vlinyulumsft_2-1734938925318.png

3.Next, I created the following measures:

Measure = IF(MAX('data table'[date]) IN VALUES('Table'[date]),0,1)

4.And applied them to the visual objects:

vlinyulumsft_3-1734938953629.png

5.Here's my final result, which I hope meets your requirements.

vlinyulumsft_4-1734938953630.png

Please find the attached pbix relevant to the case.

 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hello in my case this is not a solution, my issue is if the data base only has 12345 & 23456, I need the mass filter to check the input and if the user inputs is 333, to return that 333 is not found on database, and counst the errors, or the no hits in database

Hi @Oscar1991 ,

 

Has I refered previously to my konwledge you cannot get the values written in a filter, slicer, ... into a card since you can only access the data in the columns, altough the values are taken into the visual itself and you can see it in the Filter Icon in the visual I believe that this is based on the engine of Power BI and Vertipaq and you cannot access that data directly.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors