Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table named Lead_ID containing following data
Another table named Emails contain following data
the relationship goes by Emails (Email) (one side) -> Lead_id (EMail) (Many SIde)
I created following visual and slicer
Now i want to filter the tablular visual by applying filter Abuse/not.
Since the relationship is one sided from Emails (Email) (one side) -> Lead_id (EMail) (Many SIde), i cant filter it out by selecting any value from Slicer,
I tried changing the relationship properties by changing the cross filter direction as both but it is not working in my original model,
which contain lots of other tables and there is a chance of Ambiguous Model Error.
Is there anyother way of resolving this??
Solved! Go to Solution.
Hi @Anonymous ,
As long as the "Abuse/Not" column is added to the table visual or there is an "Abuse/Not" column in the filter context of the matrix formula, the slicer can affect the table visual.
Or is this what you want?
So I feel very strange about your statement, please provide a sample .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous if you still don't want to create a measure then you have to cross filter direction to both but the recommendation would be put as a visual level filter as @amitchandak suggested.
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
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.
@Anonymous you can force it by using crossfilter DAX function, use it in a measure like this
Measure =
CALCULATE (
SUM ( Table[Amount] ),
CROSSFILTER ( Table[Id], Dim(Id], BOTH )
)
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
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.
I am not looking to Sum the Abuse/Not Column,
I am looking to use this as a Slicer to filter my tabular visual,
I created this measure and put in the visual level filter of the table and restricted as not blank
Count of Abuse =
Var Abuseas1 = CALCULATE(COUNT(Lead_ID[Abuse/Not]),FILTER(Lead_ID,Lead_ID[Abuse/Not]=1),CROSSFILTER(EMails[Email],Lead_ID[Email ],Both))
Var Abuseas0 = CALCULATE(COUNT(Lead_ID[Abuse/Not]),FILTER(Lead_ID,Lead_ID[Abuse/Not]=0),CROSSFILTER(EMails[Email],Lead_ID[Email ],Both))
Var Abuseas00r1 = CALCULATE(COUNT(Lead_ID[Abuse/Not]),CROSSFILTER(EMails[Email],Lead_ID[Email ],Both))
Var Abuseasblank = CALCULATE(COUNT(Lead_ID[Abuse/Not]),FILTER(Lead_ID,Lead_ID[Abuse/Not]=BLANK()),CROSSFILTER(EMails[Email],Lead_ID[Email ],Both))
Return
SWITCH(TRUE(),SELECTEDVALUE(Lead_ID[Abuse/Not])=1,Abuseas1,SELECTEDVALUE(Lead_ID[Abuse/Not])=0,Abuseas0,SELECTEDVALUE(Lead_ID[Abuse/Not])=BLANK(),Abuseasblank,Abuseas00r1)
I am getting values when i am selecting the slicer as 1 or 0
but when i am selecting blank(), i am getting empty table
is there anything wrong in my measure??
Hi @Anonymous ,
As long as the "Abuse/Not" column is added to the table visual or there is an "Abuse/Not" column in the filter context of the matrix formula, the slicer can affect the table visual.
Or is this what you want?
So I feel very strange about your statement, please provide a sample .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.