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
nanacobsbs
Helper I
Helper I

Dax Command for filtered value

There are 3 filters Plant, Machine type and Machine No in a page.

Currently, the graphs below show the total factory value and is not filtered.

How can I use the DAX function to display filtered values?

 

*Separate Resource and Unit data tables are graphed and displayed on a single page.

*Machine Type Filter : When selecting a plant, I want to display only the MACHINE type that the plant has.

*Machine No. : I want to display only the machine No. associated with the MACHINE type of each plant. If all MACHINE No. are checked, I want to show the total value of all machines.

 

nanacobsbs_0-1689063848323.png

 

nanacobsbs_2-1689063890971.png

 

 

3 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @nanacobsbs ,

 

As I understand it, your *Machine Type Filter and *Machine No. Filter can't be used at the same time, right? Otherwise, the two logics will cause conflict.

If not, please provide more details. If possible, please provide the expected result in tabular form, such as what you chose in the slicer, and then show me the expected result in tabular form.

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

Thank you for your comment.
Regarding this question, I was able to solve it with the TREATAS function.

I appreciate your offer of assistance.

View solution in original post

Anonymous
Not applicable

Hi @nanacobsbs ,

 

Really happy to hear that you've solved your problem.

Please Accept the reply as the solution to help the other members find the useful information/ solution more quickly.  

                                                                                                                                                         

Best Regards,

Stephen Tao        

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @nanacobsbs ,

 

As I understand it, your *Machine Type Filter and *Machine No. Filter can't be used at the same time, right? Otherwise, the two logics will cause conflict.

If not, please provide more details. If possible, please provide the expected result in tabular form, such as what you chose in the slicer, and then show me the expected result in tabular form.

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

Thank you for your comment.
Regarding this question, I was able to solve it with the TREATAS function.

I appreciate your offer of assistance.

Anonymous
Not applicable

Hi @nanacobsbs ,

 

Really happy to hear that you've solved your problem.

Please Accept the reply as the solution to help the other members find the useful information/ solution more quickly.  

                                                                                                                                                         

Best Regards,

Stephen Tao        

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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