Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello All,
| STORE | ITEMS SOLD |
| A | Electronics, Sporting Goods |
| B | Sporting Goods |
| C | Electronics, Sporting Goods, Apparel |
Would like to create a new measure for the unique items:
| Category |
| Apparel |
| Electronics |
| Sporting Goods |
Where selecting the Category value will return the Store(s) that sell the item(s).
For example ---
Selecting Apparel returns Store C
Selecting Electronics returns Store A and Store C
Selecting Sporting Goods returns Store A, Store B, and Store C
I'm new to creating DAX measures. Any help will be greatly appreciated.
Have a great day and weekend.
Solved! Go to Solution.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi, @TryingToLearn
use selected value, and concatenex
Store By Category =
VAR SelectedCategory = SELECTEDVALUE('Category'[Category])
RETURN
CONCATENATEX(
FILTER('StoreItems', CONTAINSSTRING([Items Sold], SelectedCategory)),
[Store],
", "
)
Proud to be a Super User!
Hi @rubayatyasmin,
Thank you for replying to my post. Unfortunately this part is causing issues:
FILTER('StoreItems',
I changed it to 'Store' which is the field name, but the measure is showing a "cannot find the table 'Store'" error.
'Store' and 'Items Sold' fields are on the same table (Store_Table).
Thanks again.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |