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 want the user to select a special id with one slicer input. I have a table. This table has different columns including special_ids. One of these columns is the "league" column. I request that I use the league column of the special_id selected by the user as a filter for another measurement.
For example, the user has selected Leo Messi from the slicer input. In the table with Leo Messi, the league column says USA1. I want to use this "USA1" value as a filter for another metric.
Solved! Go to Solution.
@unarsezer- Please check this out and let me know if this work.
row_number =
VAR SelectedLeague = [Selected League]
RETURN
CALCULATE(
COUNTROWS(deneme),
FILTER(
ALLEXCEPT(deneme, deneme[attacking_labels]),
deneme[league] = SelectedLeague && deneme[template_position] = "CF"
)
)I've hypothetically established this DAX measure, but without much clarity regarding your datasets. If this doesn't serve your needs, I recommend you share a sample dataset. This will give me a more comprehensive understanding of your data structure, enabling me to devise a more suitable solution. Cheers
@unarsezer- Please check this out and let me know if this work.
row_number =
VAR SelectedLeague = [Selected League]
RETURN
CALCULATE(
COUNTROWS(deneme),
FILTER(
ALLEXCEPT(deneme, deneme[attacking_labels]),
deneme[league] = SelectedLeague && deneme[template_position] = "CF"
)
)I've hypothetically established this DAX measure, but without much clarity regarding your datasets. If this doesn't serve your needs, I recommend you share a sample dataset. This will give me a more comprehensive understanding of your data structure, enabling me to devise a more suitable solution. Cheers
It worked like a charm! Thanks a lot!
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |