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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pbiembeded
Regular Visitor

Convert default AND to OR using Custom Visuals

I would like to create custom visuals to convert default AND to OR logical operator.


I am able to do this using DAX query.  https://www.sqlbi.com/articles/using-or-conditions-between-slicers-in-dax/

 

Do you know how I can achieve this by cresting custom visuals. Is there any existing slicer which will do for me ?

 

Is there any way in powerbi I can execute query by passing parameters through custom visuals ?

 

Like Entity Framework Or Ado.Net ?

2 REPLIES 2
dm-p
Super User
Super User

Hi @pbiembeded,

I provided these details on your other post. Including on this post in case you have not seen it, as I believe it provides the necessary technical details from a custom visual perspective.

Regards,

Daniel





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

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Greg_Deckler
Super User
Super User

@pbiembeded - I am not aware of any default slicer that would act that way or any slicer in AppSource that functions like that. Would need more specifics on the data you have and what you are trying to achieve to see if there is a different creative work-a-round. If you can get your filtering options into a single slicer, a single slicer by default implements OR logic within it so that *may* be an option. But, again, would need to understand your data better.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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