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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a table with the following information:-
| BDM | Depot |
| Internal01 | Liverpool |
| Internal01 | Liverpool |
| Internal01 | Manchester |
| Internal01 | Manchester |
| Internal02 | Manchester |
| Internal03 | Liverpool |
| Internal03 | Manchester |
| Internal03 | Manchester |
| Internal03 | Bolton |
| Internal03 | Bolton |
I wish to create a new table that counts the number of times each BDM is listed against each depot and adds in the current date each day the table is updated:-
| Date | Depot | BDM | Total |
| 21/04/2022 | Liverpool | Internal01 | 2 |
| 21/04/2022 | Manchester | Internal01 | 2 |
| 21/04/2022 | Manchester | Internal02 | 1 |
| 21/04/2022 | Liverpool | Internal03 | 1 |
| 21/04/2022 | Manchester | Internal03 | 2 |
| 21/04/2022 | Bolton | Internal03 | 2 |
What is the best way to approach this?
Solved! Go to Solution.
To get the date when the data was last refreshed you would need to create a new query in Power Query which returns the current date. You can then use that to create a new summary table like
Summary Table = CROSSJOIN(
SUMMARIZECOLUMNS( 'Table'[Depot], 'Table'[BDM], "Total", COUNTROWS('Table') ),
LastUpdated
)where LastUpdated is the table with the last updated date in it
To get the date when the data was last refreshed you would need to create a new query in Power Query which returns the current date. You can then use that to create a new summary table like
Summary Table = CROSSJOIN(
SUMMARIZECOLUMNS( 'Table'[Depot], 'Table'[BDM], "Total", COUNTROWS('Table') ),
LastUpdated
)where LastUpdated is the table with the last updated date in it
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 122 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |