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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!


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.



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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.