Forum Discussion
ybicalways79
3 years agoFrequent Visitor
DAX Measure to filter Multiple DataSets in Visuals - Power Bi
Ive been at this a week now with little progress and lot of frustration. I have 2 slicers is my projects which are both shows here in the left corner. When I select a Visual Category, I would li...
Anonymous
3 years agoNot applicable
Hi ybicalways79 ,
I suggest you to remove or inactive the relationship between two tables. Then create measures to get result.
Select Category Price =
VAR _SELECTEDALUE =
SELECTEDVALUE ( 'Visual Category'[SalesRounteMatch] )
RETURN
IF (
ISFILTERED ( 'Visual Category'[Matched Categories] ),
IF (
_SELECTEDALUE = BLANK (),
CALCULATE ( SUM ( Sales[Price] ) ),
CALCULATE ( SUM ( Sales[Price] ), Sales[Route] = _SELECTEDALUE )
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ybicalways79
3 years agoFrequent Visitor
Anonymous
Short answer is your solution was great. Now my issue that i didnt provide you enough infomation and tables. I attempted to use what you suggested to fix but i could not get it to work. I included a link to the .pbix