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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Changing blank to 0
06-09-2023
05:35 AM
Hello,
I have a matrix in my Power Bi report that shows Sales Orders by year. However, some products have no sales in some months and the DAX I currently use returns blanks instead 0.
I need the DAX to return 0 instead of blank. My current DAX is COUNTROWS(SalesOrders)
Can anyone help?
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023
06:52 AM
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Announcements
Join our Fabric User Panel
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Power BI Monthly Update - June 2025
Check out the June 2025 Power BI update to learn about new features.

Top Solution Authors (Last Month)
User | Count |
---|---|
9 | |
9 | |
6 | |
6 | |
6 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
15 | |
13 | |
11 | |
9 | |
7 |