Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to display the invoice total on each line, but needs to be relative to Invoice Number and Company. I cant figure it out. NEED HELP PLEASE!!!! For purposes of example, the data lives in a table called 'Table'
Solved! Go to Solution.
Hi @benjamin_berger ,
Create a column with below code:-
Invoice_total =
CALCULATE (
SUM ( 'Table (4)'[rev] ),
FILTER (
ALL ( 'Table (4)' ),
'Table (4)'[Invoice number] = EARLIER ( 'Table (4)'[Invoice number] )
&& 'Table (4)'[Company] = EARLIER ( 'Table (4)'[Company] )
)
)
Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @benjamin_berger ,
Create a column with below code:-
Invoice_total =
CALCULATE (
SUM ( 'Table (4)'[rev] ),
FILTER (
ALL ( 'Table (4)' ),
'Table (4)'[Invoice number] = EARLIER ( 'Table (4)'[Invoice number] )
&& 'Table (4)'[Company] = EARLIER ( 'Table (4)'[Company] )
)
)
Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Thank you so much !
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
104 | |
78 | |
68 | |
61 |
User | Count |
---|---|
144 | |
106 | |
106 | |
82 | |
70 |