Forum Discussion
Power BI table Desktop
- 3 years agoHi,try this measure:Value Measure For Multiple Data Formats = IF(OR(CONTAINSSTRING(SELECTEDVALUE('TableName'[Tag_Description]),"(Euc)"),CONTAINSSTRING(SELECTEDVALUE('TableName'[Tag_Description]),"(Res/ARS)")),FORMAT(SUM('TableName'[Value])/100,"Percent"),FORMAT(SUM('TableName'[Value]),"#"))
- 3 years ago
Sorry change the last part of the measure ,"#")) to ,"0.00")) for decimal
Hi This is measure is working good showing values 31% and 12%. but all the values are showing empty.
In my table ther are only five stock tank B2 but all the others it is showing as Stocktank B2 and empty. same for values taking for all the columns after applying the measure
example:
there five rows in table one row is stock tank B2 . it chnage the value for 31% for paticular rows. it shwoing five rows with stcok tank B2 and one 31% others empty
Without seeing more of what is in the file it's going to be difficult to tell why that's happening. Have you got a copy of the PBI file i can take a look at?
- Rajeshcric4243 years agoFrequent Visitor
This measure is working fine now. Thanks a Lot. How to do as New column without the measure. Is it Possible.
- DOLEARY853 years agoResident Rockstar
I believe due to the different formats you want within a single column it will need to be a measure.