Forum Discussion
How to hide a value in a row
- 4 years ago
Hi,
Thank you for your message.
Could you please check the below picture and the attached pbix file if it suits your requirement?
New Measure: = IF ( ( SELECTEDVALUE ( data[Currency] ) = "Indonesian Rupiah" || SELECTEDVALUE ( data[Currency] ) = "CNY" || SELECTEDVALUE ( data[Currency] ) = "Pesos" ) && SELECTEDVALUE ( data[CB - Wk] ) = "Jul - W27", BLANK (), SUM ( data[amount_balance] ) ) - 4 years ago
Hi,
Thank you for your message.
Please try to replace the measure with the below.
New Measure: = IF ( ( SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary a" || SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary b" || SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary c" ) && SELECTEDVALUE ( data[CB - Wk] ) = "Jul - W27", "", SUM ( data[amount_balance] ) )
Hi Jihwan_Kim it works perfect!! One last thing, how can I add the other currencies to make it blank as well to the measure? Apologies, still new in learning PBI. Thank you!!
Hi,
Thank you for your message.
Could you please check the below picture and the attached pbix file if it suits your requirement?
New Measure: =
IF (
(
SELECTEDVALUE ( data[Currency] ) = "Indonesian Rupiah"
|| SELECTEDVALUE ( data[Currency] ) = "CNY"
|| SELECTEDVALUE ( data[Currency] ) = "Pesos"
)
&& SELECTEDVALUE ( data[CB - Wk] ) = "Jul - W27",
BLANK (),
SUM ( data[amount_balance] )
)- tools123454 years ago
Helper I
Thank you so much, Sir Jihwan_Kim!! Works perfectly! 🙌🏻 You're a blessing! Thank you again! 🙇🏻♀️🙏🏻
- tools123454 years ago
Helper I
Thank you so much Jihwan_Kim - it works perfectly! Thanks a lot!! 🙏🏻
- Jihwan_Kim4 years ago
Super User
Hi,
Thank you for your message.
Please try to replace the measure with the below.
New Measure: = IF ( ( SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary a" || SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary b" || SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary c" ) && SELECTEDVALUE ( data[CB - Wk] ) = "Jul - W27", "", SUM ( data[amount_balance] ) ) - tools123454 years ago
Helper I
Hi, Sir Jihwan_Kim hope you're well! I hope I can make a follow-up inquiry to ask for your help regarding: the first measure provided above. Is there any way we can update it? I have reattached sample test file link here for further checking. t
Below measure I have applied and it totally remove the W27 column instead of just hiding the values for each subsidiary.
Appreciate your further insights. Thank you!New Measure: = IF ( ( SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary a" || SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary b" || SELECTEDVALUE ( data[Subsidiary] ) = "subsidiary c" ) && SELECTEDVALUE ( data[CB - Wk] ) = "Jul - W27", BLANK (), SUM ( data[amount_balance] ) ) - Jihwan_Kim4 years ago
Super User
Hi,
I am not sure how your expected outcome looks like, but I think your measure hides everything on W28. Because there are only subsidiary a, b, and c.
Could you please let me know how is your expected outcome looks like?
- tools123454 years ago
Helper I
Hi Sir Jihwan_Kim, the output we are expecting is just to hide the values of each subsidiary under W27 but still be able to display the column header W27. The above measure hides everything under W27 and just display the W28 directly. Hope the below image helps. Thank you!