Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Create a table (which will be hidden in the model) with pairs of (ProductID, Username). Username will be the user's email that they connect with, which you can return using a DAX function, probably Username() or something like this. This is the mapping you want to occur. Then connect Products via ProductID to this table with bi-dir filtering. Then put a slicer on the canvas as you would normally do using the column from Products. Then create a measure
[ProductIsOKToShow] =
var ProductIsOKToShow_ =
NOT ISEMPTY(
filter(
ProductToUserBridgeTable,
ProductToUserBridgeTable[UserName] = USERNAME()
)
)
return
1 * ProductIsOKToShow_
and filter the slicer via Filter Pane where the condition [ProductIsOKToShow] is 1.
@daxer-almighty Excellent, Kudos. Worked! Fantasic, and thanks for the good help.
Create a table (which will be hidden in the model) with pairs of (ProductID, Username). Username will be the user's email that they connect with, which you can return using a DAX function, probably Username() or something like this. This is the mapping you want to occur. Then connect Products via ProductID to this table with bi-dir filtering. Then put a slicer on the canvas as you would normally do using the column from Products. Then create a measure
[ProductIsOKToShow] =
var ProductIsOKToShow_ =
NOT ISEMPTY(
filter(
ProductToUserBridgeTable,
ProductToUserBridgeTable[UserName] = USERNAME()
)
)
return
1 * ProductIsOKToShow_
and filter the slicer via Filter Pane where the condition [ProductIsOKToShow] is 1.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
44 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
59 | |
50 | |
44 | |
21 | |
19 |