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,
I have a calculated table made with SELECTCOLUMNS like this:
mySales = DISTINCT(SELECTCOLUMNS( Sales, "ProductID", Sales[ProductID], "Amount", Sales[Amount]) )
but it produces some blank values in Amount. How do I modify this table definition so that I get only rows that are non-blank in Amount column? I can not do this in M as this is a table derived from another table in Power BI.
Solved! Go to Solution.
May be this one
mySales = FILTER ( DISTINCT ( SELECTCOLUMNS ( Sales, "ProductID", Sales[ProductID], "Amount", Sales[Amount] ) ), NOT ( ISBLANK ( [Amount] ) ) )
May be this one
mySales = FILTER ( DISTINCT ( SELECTCOLUMNS ( Sales, "ProductID", Sales[ProductID], "Amount", Sales[Amount] ) ), NOT ( ISBLANK ( [Amount] ) ) )
Hi Bro,
Your reply was very usefull for me, I've made my table. Just a little more to add.
After making the custom table i just want to summarize one of the column, can you please help me on this.
Thank you so much.
Yep! Exactly. Clever solution.
Thanks!
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |