Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I need to display NODATA instead of Blank,for the columns which do not have data.
For Example :
If I chose Activity = Walk in a filter,then it should be HoursSpent = NODATA (As there is No data ,it should show NODATA instead of Blank)
I have used this below code, but didnt work for me.
Isblank = VAR __Value = SELECTEDVALUE( 'Table 1'[Activity] ) VAR __Res = IF( ISBLANK( __Value ), 0, __Value) RETURN __Res
Please help
@amitchandak ,I am new to PowerBi ,I didnt understand
Could you please be more specific
@Himaja95 , Try to use Dynamic Format Strings, write this in format in Double quotes
example , I created measure
Power BI Dynamic Format Strings for Measures| Format without converting to text: https://youtu.be/qHALucET7N8
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 27 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |