Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I want to combine 2 measures in a table and filter them by date.
You will find on the link below the file I am working on and as you can see, the second column (CA_2019_Cumulé) of the matrix displays the cumulative result on each line whereas it should correspond to the 1st column(CA_2018_Cumulé).
Click here to see the file
Thanks for your help,
Solved! Go to Solution.
Create a table Date in Power Bi and Join them with other tables and build the visual.
Please see the attached file.
Thanks,
Hemanth Thota.
The issue is due to the tables are not joined. It can be resloved by creating the Common Date table and join to that table or append the two table into single table and create the visual.
It would help you.
Thanks,
Heamanth Thota.
Thanks for your help.
In fact, one of the tables I use comes directly from an ERP and can't be modified.
So I have 1 table having more than 25000 lines and the other one has only 12, one for each month.
Is there any other option ?
Ok, thank you.
Would it be possible to have the PBIX file so that I can see exactly how it works ?
Thanks
Hi @aer98
You may use below measure.Attached sample file for your reference.
CA_2018_Cumulé = CALCULATE ( SUM ( 'CA-2018'[Montant] ), FILTER ( ALL ( 'CA-2018' ), 'CA-2018'[Date] <= MAX ( 'CA-2018'[Date] ) && YEAR ( 'CA-2018'[Date] ) = 2018 ) )
Regards,
Create a table Date in Power Bi and Join them with other tables and build the visual.
Please see the attached file.
Thanks,
Hemanth Thota.
User | Count |
---|---|
80 | |
77 | |
64 | |
48 | |
45 |
User | Count |
---|---|
103 | |
45 | |
39 | |
39 | |
36 |