Forum Discussion
Identifying a Product gap based off 2 data tables
- 7 months ago
hi L1102 ,
Not sure if i fully get you, supposing you have two tables like below:
and they are related on location column as many to 1.
Try the following:
1) plot a slicer with sales[product]
2) plot a table visual with location[Location]3) write a measure like below:
FilterMeasure = VAR _count = DISTINCTCOUNT(Sales[product]) VAR _result = IF (_count>0, 1, 0) RETURN _result4) pull the measure to the filter pan of the table visual and select 0.
it worked like:
Please find more info in the attached file.
hi L1102 ,
Not sure if i fully get you, supposing you have two tables like below:
and they are related on location column as many to 1.
Try the following:
1) plot a slicer with sales[product]
2) plot a table visual with location[Location]
3) write a measure like below:
FilterMeasure =
VAR _count = DISTINCTCOUNT(Sales[product])
VAR _result = IF (_count>0, 1, 0)
RETURN _result
4) pull the measure to the filter pan of the table visual and select 0.
it worked like:
Please find more info in the attached file.
- L11027 months agoHelper I
Thank you so much for this!!