Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Good Morning,
I have accumulated data, which are obtained from a database and an Excel file. The comparison of the last years should be shown.
Everything works fine, except for the year 2020.
There the change from Excel file to database took place.
How can I make it so that the data from the two sources are also cumulated?
Thank you
Greetings Marcus
kumulativ = CALCULATE(SUM('Capacity Ledger Entry'[Output Quantity]) ,FILTER(ALL('Capacity Ledger Entry'),'Capacity Ledger Entry'[Produktionsdatum]<=MAX('Capacity Ledger Entry'[Produktionsdatum])),'Capacity Ledger Entry'[Variant Code] <> BLANK(), VALUES('Capacity Ledger Entry'[Year])) + CALCULATE(SUM('Auswertung 2020'[Quantity produced]), FILTER(ALL('Auswertung 2020'), 'Auswertung 2020'[Datum]<=MAX('Auswertung 2020'[Datum])), VALUES('Auswertung 2020'[YEAR]))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
64 | |
63 | |
52 | |
36 | |
36 |
User | Count |
---|---|
80 | |
71 | |
58 | |
45 | |
44 |