Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
Newbie to Power BI here so hoping someone might be able to help me out with this one.
Quick summary of what i want to do is to is to take a couple of columns that i have in one table relating to aircraft and dates, do a sum total of each family of aircraft grouping by date and aircraft family and then put all of that in a new separate table.
Example:
Table with columns AircraftFamily and Date (the date format has to be like this and can't be changed). The columns of data i have have thousands of rows so this example is much smaller dataset plus the data doesn't run nice and sequentially like in the example
AircraftFamily | Date |
A320 Family | April 2021 |
A320 Family | April 2021 |
A320 Family | May 2021 |
A320 Family | May 2021 |
A320 Family | May 2021 |
737 Family | April 2021 |
737 Family | April 2021 |
737 Family | April 2021 |
737 Family | May 2021 |
737 Family | May 2021 |
A330 Family | April 2021 |
A330 Family | April 2021 |
A330 Family | May 2021 |
A330 Family | May 2021 |
A330 Family | May 2021 |
A330 Family | June 2021 |
What i want the new table to look like:
Aircraft Family | Date | Total |
A320 Family | April 2021 | 2 |
A320 Family | May 2021 | 3 |
737 Family | April 2021 | 3 |
737 Family | May 2021 | 2 |
A330 Family | April 2021 | 2 |
A330 Family | May 2021 | 3 |
A330 Family | June 2021 | 1 |
Hopefully someone can guide me on this one
Regards,
Mark
Solved! Go to Solution.
Hi @mkwiatkowski,
Try measure as:
Total =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALL('Table'),
'Table'[AircraftFamily]=MAX('Table'[AircraftFamily]) && MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))
)
)Here is the output:
Here is the demo, please try it.
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mkwiatkowski,
Try measure as:
Total =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALL('Table'),
'Table'[AircraftFamily]=MAX('Table'[AircraftFamily]) && MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))
)
)Here is the output:
Here is the demo, please try it.
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@mkwiatkowski , In table visual, take these three columns as un summarized and take again one of them as count
or create a measure and use that count(Table[Date]) and use with other three
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |