Forum Discussion
Columns with blank value
- 4 years ago
Hi RonaldvdH ,
You need to unpivot the columns(you could create a copy table then do this) :
= Table.UnpivotOtherColumns(#"Changed Type", {"Hoofdproject", "AP gebied naam", "2V_DAC", "12V_MDAC", "24v_LTMC", "48V_LTMC", "96V_LTMC", "192V_LTMC", "LM_EDSA-D4-48", "Woningen", "14/10 connectoren", "Markers", "14/10 eind connectoren"}, "Attribute", "Value")Click Ctrl + the cloumn you want to use:
Then apply and create visual:
Refer:
Did I answer your question? Mark my post as a solution!
Best RegardsLucien
HI RonaldvdH ,
See the below if you want ,if not ,could you pls share a sample?
sample data:
use the below measure:
Measure = IF(MAX('Table'[value])=0,BLANK(),MAX('Table'[value]))
Final out put:(when choose A,B,could view a2,and when only choose A,a2 is hidden)
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
- RonaldvdH4 years agoPost Patron
v-luwang-msft Maybe im doing something wrong but your formula doesn't seem to work.
Test = IF(MAX('Stuklijsten'[5x16])=BLANK(),BLANK(),MAX('Stuklijsten'[5x16]))Ive made a new measure based on your formula but as you can see the column still shows up in the matrixThe data is based on an excelfile with basically the same layout as the matrix above.Ive tried changing the formula to = 0 or = "" but then i get an error because of different types of value (Integer vs Text)- v-luwang-msft4 years agoCommunity Support
HI RonaldvdH ,
Could you pls share your pbix file ?And remember to remove confidential data.
I checked my measure provided.And try to add new data as your table .
measure:
Measure 2 = IF(MAX(Table2[value])=0,BLANK(),max(Table2[value]))And in visual ,it still work:(type3 is hidden)
Best Regards
Lucien
- RonaldvdH4 years agoPost Patron
v-luwang-msft your formula says that if Table2[value]=0 then return BLANK() but the value is already Blank() because in the excelfile there are no values (empty cell) so that is why I changed the formula to IF(table2[value]=BLANK();BLANK() ....
However is still doesn't work 😉
Can i E-mail you the file ?