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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Rewind
Helper I
Helper I

DAX for PowerBI Paginated Report - Multiple Values Selected

I am building a Paginated Report using a Power BI dataset.

 

I've been able to enable parameters to allow users to filter for a specific dataset (e.g. Literacy class group) if they select a single class using the method outlined here: https://audministrator.wordpress.com/2019/12/20/power-bi-report-builder-using-parameters/?unapproved...

 

However this only works if the user selects one value and not multiple values.

 

The DAX is FILTER(VALUES('ref_LiteracyClass'[Literacy_Class]), PATHCONTAINS(@LiteracyClass, 'ref_LiteracyClass'[Literacy_Class])) where '@' value is the parameter value selected.

 

Is there an alternate DAX query I could use? It seems like the FILTER operation will only return one value.

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Rewind you have to use RSCUSTOMDAXFILTER function for multiple values in your Power BI Report builder DAX expression. You can check my video on this at this link that talks about various things working with Power BI datasets in the Power BI report builder https://onyxdata.co.uk/microsoft-power-bi-uk-user-group-webinar-paginated-reports-with-parvinder-cha...

 

 

Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@Rewind glad to know it worked for you. Cheers!!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@Rewind you have to use RSCUSTOMDAXFILTER function for multiple values in your Power BI Report builder DAX expression. You can check my video on this at this link that talks about various things working with Power BI datasets in the Power BI report builder https://onyxdata.co.uk/microsoft-power-bi-uk-user-group-webinar-paginated-reports-with-parvinder-cha...

 

 

Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thank for the resource! I ended up changing my method/approach to match your presentation and it worked.

 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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