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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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!


My course: Introduction to Developing Power BI Visuals


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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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