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.
Attribute | M1 | M2 | M3 | M4 | M5 | M6 |
A1 | 12 | 2 | 5 | 4 | 43 | 5 |
A2 | 22 | 3 | 4 | 5 | 44 | 2 |
A3 | 33 | 5 | 4 | 2 | 5 | 4 |
A4 | 3 | 6 | 3 | 5 | 2 | 5 |
Above is a matrix visual Attribute is row
M1,M2....... are values and they are measures.
M1 = calculate(count(id),filter......)
Required
Attribute | M1 | M2 | M3 | M4 | M5 | M6 |
A1 | 12 | 2 | NA | NA | NA | 5 |
A2 | 22 | 3 | 4 | 5 | 44 | 2 |
A3 | 33 | 5 | 4 | 2 | 5 | 4 |
A4 | 3 | 6 | 3 | 5 | 2 | 5 |
@vijaykumarj19 , what is logic.
example
new M3 =If(max(Table[Attribute]) = "A1" ,"NA",[M3] & "" ) // you can return only one type of data type
new M3 =If(max(Table[Attribute]) = "A1" ,blank() ,[M3]) // return blank
Then i can cant return two datatypes
M3 logic = calculate(count(id),filter(tb1,tb1[col] = "xyz"))
Hi @vijaykumarj19 ,
What you described doesn't make me understand the problem. Can you share the sample pbix and the results you expect?
Best Regards,
Liang
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |