Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I made some sample data, what I want to do is filter on Region or Type and "Test" should only give me the selected id's.
Now Test = CONCATENATEX(VALUES('Table'[Id]),'Table'[Id],", ")
How to apply the filter context?
Solved! Go to Solution.
Thanks. Now I found the reason. Your measure is not created as a measure. It is a column. Choose "New measure" instead of "New column" and input exactly the same formula. When defined as a masure, its icon should look like my Test3 below.
You should be able to download my pbix here https://www.dropbox.com/s/iirnvmixaif5cte/PBI_concat.pbix?dl=0
Thanks. Now I found the reason. Your measure is not created as a measure. It is a column. Choose "New measure" instead of "New column" and input exactly the same formula. When defined as a masure, its icon should look like my Test3 below.
Thanks for helping me out!
I am not an expert but once created a similar measure and filters worked just fine. How about below?
Test = CONCATENATEX(Table, Table[Id], ", ")
That is what I have now, but my string is always every ID. It needs to keep only the ID's which will be filtered.
Isn't this what you want, or am I misunderstanding.
Yes that's what i want/need.
Why is this not working for me?
Are the four parts (region filter, type filter, table of records, table of test) all from the same table? Is the measure defined in the same table? Are the two filters both connected to the two tables and active?
Region, Type, table is one table.
Test was in an other table.
But if create test2 in the same table, i get the same result.
Filters are active as you can see
Oh, that is weird... probably uploading your pbix file would be faster if it is not for real use but just sample.
I don't think it is very likely that it is the cause, but this is one way I could replicate the issue....
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
19 | |
18 | |
18 | |
17 |
User | Count |
---|---|
37 | |
25 | |
18 | |
17 | |
13 |