The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I'm trying to create a bar chart that shows the sum of records per week.
The records table is a combination of several Excel tables. This table has the date on which the registration was made, there may be more than one registration per day and there may be no registration on certain days or even weeks. I can't add column to this tables.
record nº | Data | Tipo | Sector |
12055687 | 2024-03-29 | MC | PSE-SLP |
12055686 | 2024-03-29 | MC | PSE-EDF |
12055685 | 2024-03-29 | RT | SUP |
12055684 | 2024-03-29 | RT | SUP |
12055680 | 2024-03-30 | MPR | SLP |
12055663 | 2024-03-30 | MPR | EBT |
12055620 | 2024-03-28 | MC | PSE-EAM |
12055451 | 2024-04-01 | MPR | CEE |
12055450 | 2024-03-28 | RT | SUP |
12055449 | 2024-03-28 | RT | SUP |
12055445 | 2024-03-29 | MPR | SLP |
12055231 | 2024-03-27 | MC | PSE-EDF |
12055220 | 2024-03-27 | MC | PSE-STB |
12055219 | 2024-03-27 | MC | PSE-STB |
12055218 | 2024-03-27 | MC | PSE-STB |
12055217 | 2024-03-27 | MC | PSE-STB |
12055216 | 2024-03-27 | MC | PSE-SLP |
12055215 | 2024-03-27 | MC | PSE-EDF |
12055214 | 2024-03-27 | MC | SUP |
12055213 | 2024-03-27 | MC | SUP |
12055212 | 2024-03-27 | RT | SLP |
12055211 | 2024-03-27 | RT | EBT |
12055198 | 2024-04-01 | MPR | PSE-EAM |
12055180 | 2024-04-01 | MPR | CEE |
12055176 | 2024-04-01 | MPR | SUP |
12054834 | 2024-03-29 | MPR | SUP |
12054830 | 2024-03-28 | MPR | SLP |
12054776 | 2024-03-27 | MPR | PSE-EDF |
12054755 | 2024-03-26 | MPR | PSE-STB |
12054754 | 2024-03-26 | MPR | PSE-STB |
12054750 | 2024-03-26 | MPR | PSE-EDF |
I created an Excel table that transforms the dates in a column into week numbers in column A and year in column C. In Power BI desktop this table is related to the reference table through the date. I use the data table to make other filters.
Semana | Data | Ano |
1 | 01/01/2024 | 2024 |
1 | 02/01/2024 | 2024 |
1 | 03/01/2024 | 2024 |
1 | 04/01/2024 | 2024 |
1 | 05/01/2024 | 2024 |
1 | 06/01/2024 | 2024 |
2 | 07/01/2024 | 2024 |
2 | 08/01/2024 | 2024 |
2 | 09/01/2024 | 2024 |
2 | 10/01/2024 | 2024 |
2 | 11/01/2024 | 2024 |
2 | 12/01/2024 | 2024 |
2 | 13/01/2024 | 2024 |
3 | 14/01/2024 | 2024 |
3 | 15/01/2024 | 2024 |
3 | 16/01/2024 | 2024 |
3 | 17/01/2024 | 2024 |
3 | 18/01/2024 | 2024 |
3 | 19/01/2024 | 2024 |
3 | 20/01/2024 | 2024 |
4 | 21/01/2024 | 2024 |
4 | 22/01/2024 | 2024 |
4 | 23/01/2024 | 2024 |
4 | 24/01/2024 | 2024 |
4 | 25/01/2024 | 2024 |
4 | 26/01/2024 | 2024 |
4 | 27/01/2024 | 2024 |
5 | 28/01/2024 | 2024 |
5 | 29/01/2024 | 2024 |
5 | 30/01/2024 | 2024 |
5 | 31/01/2024 | 2024 |
5 | 01/02/2024 | 2024 |
5 | 02/02/2024 | 2024 |
5 | 03/02/2024 | 2024 |
6 | 04/02/2024 | 2024 |
6 | 05/02/2024 | 2024 |
6 | 06/02/2024 | 2024 |
6 | 07/02/2024 | 2024 |
6 | 08/02/2024 | 2024 |
6 | 09/02/2024 | 2024 |
6 | 10/02/2024 | 2024 |
7 | 11/02/2024 | 2024 |
7 | 12/02/2024 | 2024 |
7 | 13/02/2024 | 2024 |
7 | 14/02/2024 | 2024 |
7 | 15/02/2024 | 2024 |
7 | 16/02/2024 | 2024 |
7 | 17/02/2024 | 2024 |
8 | 18/02/2024 | 2024 |
8 | 19/02/2024 | 2024 |
8 | 20/02/2024 | 2024 |
8 | 21/02/2024 | 2024 |
8 | 22/02/2024 | 2024 |
8 | 23/02/2024 | 2024 |
8 | 24/02/2024 | 2024 |
9 | 25/02/2024 | 2024 |
9 | 26/02/2024 | 2024 |
9 | 27/02/2024 | 2024 |
9 | 28/02/2024 | 2024 |
9 | 29/02/2024 | 2024 |
9 | 01/03/2024 | 2024 |
9 | 02/03/2024 | 2024 |
10 | 03/03/2024 | 2024 |
10 | 04/03/2024 | 2024 |
10 | 05/03/2024 | 2024 |
10 | 06/03/2024 | 2024 |
10 | 07/03/2024 | 2024 |
10 | 08/03/2024 | 2024 |
10 | 09/03/2024 | 2024 |
11 | 10/03/2024 | 2024 |
11 | 11/03/2024 | 2024 |
11 | 12/03/2024 | 2024 |
11 | 13/03/2024 | 2024 |
11 | 14/03/2024 | 2024 |
11 | 15/03/2024 | 2024 |
11 | 16/03/2024 | 2024 |
12 | 17/03/2024 | 2024 |
12 | 18/03/2024 | 2024 |
12 | 19/03/2024 | 2024 |
12 | 20/03/2024 | 2024 |
12 | 21/03/2024 | 2024 |
12 | 22/03/2024 | 2024 |
12 | 23/03/2024 | 2024 |
13 | 24/03/2024 | 2024 |
13 | 25/03/2024 | 2024 |
13 | 26/03/2024 | 2024 |
13 | 27/03/2024 | 2024 |
13 | 28/03/2024 | 2024 |
13 | 29/03/2024 | 2024 |
13 | 30/03/2024 | 2024 |
14 | 31/03/2024 | 2024 |
14 | 01/04/2024 | 2024 |
14 | 02/04/2024 | 2024 |
14 | 03/04/2024 | 2024 |
14 | 04/04/2024 | 2024 |
14 | 05/04/2024 | 2024 |
14 | 06/04/2024 | 2024 |
15 | 07/04/2024 | 2024 |
15 | 08/04/2024 | 2024 |
15 | 09/04/2024 | 2024 |
15 | 10/04/2024 | 2024 |
15 | 11/04/2024 | 2024 |
15 | 12/04/2024 | 2024 |
15 | 13/04/2024 | 2024 |
16 | 14/04/2024 | 2024 |
16 | 15/04/2024 | 2024 |
16 | 16/04/2024 | 2024 |
16 | 17/04/2024 | 2024 |
16 | 18/04/2024 | 2024 |
16 | 19/04/2024 | 2024 |
16 | 20/04/2024 | 2024 |
17 | 21/04/2024 | 2024 |
17 | 22/04/2024 | 2024 |
17 | 23/04/2024 | 2024 |
17 | 24/04/2024 | 2024 |
17 | 25/04/2024 | 2024 |
17 | 26/04/2024 | 2024 |
17 | 27/04/2024 | 2024 |
18 | 28/04/2024 | 2024 |
18 | 29/04/2024 | 2024 |
18 | 30/04/2024 | 2024 |
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
OK,
I added the tables as requested.
I don't have any example of the expected result, it's basically a bar graph with the number of weeks on the horizontal axis and the bars are the result of the sum of records per week.
Thanks
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
136 | |
101 | |
100 | |
72 | |
58 |
User | Count |
---|---|
263 | |
121 | |
114 | |
93 | |
85 |