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, get a free DP-600 exam voucher to use by the end of 2024. 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!


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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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