Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
F_Reh
Post Patron
Post Patron

Counting Not Occuring

Good morning, sorry a simple question:

 

I have a table, where I want the count of rows to show on the Y-Axis - but this is not happening.  I am using field Statuses which is a Text type.

 

F_Reh_0-1748513650354.png

 

The fields for both X-axis (MonthYear) and Y-Axis are within the same table.

 

Kindly advise. Regards

1 ACCEPTED SOLUTION
F_Reh
Post Patron
Post Patron

I've deleted all the slicers from the page, now the aggregation is coming through 🙂

 

F_Reh_0-1748522774546.png

 

View solution in original post

6 REPLIES 6
F_Reh
Post Patron
Post Patron

I've deleted all the slicers from the page, now the aggregation is coming through 🙂

 

F_Reh_0-1748522774546.png

 

F_Reh
Post Patron
Post Patron

My query is simply that no aggregation occurring when I plainly copied over a field (which is called Statuses) :

 

F_Reh_0-1748520077609.png

JamesLee94
Helper I
Helper I

To count items that don’t occur in another table in Power BI, use a measure that identifies rows in one table without matching related rows in the other. This typically involves checking which keys from the main table are missing in the related table. Make sure your data model has the correct relationships set up between tables - this is crucial for accurate results. For example, if you want to find products with no sales, the measure will count products whose IDs don’t appear in the sales table. You can also handle cases where related values are blank or missing using conditional logic in your DAX formulas. This approach helps track gaps like unsold products, customers without orders, or missing events in your data.

F_Reh
Post Patron
Post Patron

That's what my screenshot is showing that I have done.

pankajnamekar25
Super User
Super User

Hello @F_Reh 

Go to your visual (e.g., bar chart).

Drag MonthYear to the X-axis.

 Drag Statuses to the Y-axis but then change the aggregation

 the Visualizations pane, under Values, click on the drop-down next to Statuses.

 

 

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

BhavinVyas3003
Super User
Super User

  • Drag MonthYear to the X-axis.
  • Drag Statuses to the Y-axis.
  • In the Visualizations pane, click the dropdown on Statuses and select "Count".

Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.