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.
Hi all,
I have a table with two columns, first column is type (A,B,C,...) and second column is some textual values .
Type | Code |
A | ab |
A | bc |
B | de |
C | ef |
B | hj |
A | lk |
I a need a DAX formual to return all values from "Code" column based on a filter for type column. Then I will use this DAX to populate rows of a Matrix visual.
for exmaple I need all codes that are type A . Results (ab,bc,lk).
Solved! Go to Solution.
@Anonymous
Maybe you do not need another column or measure. You can put code in the Colum and Value field.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , use concatenatex
https://docs.microsoft.com/en-us/dax/concatenatex-function-dax
new measure
concatenatex(Table, Table[Code])
display with Type
@amitchandak, Sorry I think I wasn't clear in my description of the issue. I don't need to concatinate columns. I need to filter rows in a table and then display values from another column for thise filtered rows.
In my example I want to dispaly all code values that are type A.
@Anonymous
Maybe you do not need another column or measure. You can put code in the Colum and Value field.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
106 | |
94 | |
76 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |