Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Return value for blanks in Power BI Matrix
04-27-2022
06:26 PM
Dear Community,
I have created the below Power BI Matrix with filters to select the below financial years and using the Area of Law as rows and revenue as values. I was hoping that if I created a measure such as:
if(ISBLANK(maindata[Dax Revenue in AOL]), "--", maindata[Dax Revenue in AOL]) that the cells with blanks where there is no revenue would display -- rather than be empty but it didn't work as intended and I can't figure out why. Could you please let me know if there is a way to accomplish having the matrix return -- as a value for the cells that are blank where there is no revenue in that area of law for any given financial year?
Please let me know, thank you so much.
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 REPLIES 3

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2022
06:40 PM

Not quite what you asked for but if you add +0 to the end of the [Dax Revenue in AOL] it will return 0 instead of blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2022
06:45 PM

Tested your formula at my end and it works as you intended.

Helpful resources
Featured Topics