This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hey guys
I built a report that shows sales by customer with customers down the left side and months across the top with sales figures. The report pulls every customer regardless of whether they had sales in the current year. How can I modify the report to only show customers with sales data?
Thanks
Dwayne
Please share the sample data for better understanding your issue.
If a cusotmer doesn' have any sales in a year eg,2017, is there any record regarding this customer in that year, such as total sales = 0 or total sales is null?
Did you try to use advance filter to exclude the customers without sales info?
@dplandry,
Please share sample data of your table and post expected result here. If you want to show this year sales, you can create a calculated column using DAX below, then create a slicer using this column or drag this column to visual level filter and set its value to1.
Column= if(YEAR(Table[Date])=YEAR(today()),1,0)
Regards,
Lydia
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 26 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 26 | |
| 23 |