Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Calculate Sales for the last date of each item

Good! I have a query, I need to calculate the total amount you have for the last update of each bank. I used a calculate with lastnonblank to bring the last amount and also the last update (columns of the table), but in the total it calculates only the values that contain some modification in the last update (17/4 17:08:29), and not the amount of all as I really want.

feralvarez994_0-1650227661806.png

I would like to correct this in the table, and also show the total amount of all banks.

Greetings and thanks!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Try this measure

Measure = SUMX(VALUES(Data[Banco/Entitad]),[Monto])

My assumption is that Monto is a measure that you have written.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Try this measure

Measure = SUMX(VALUES(Data[Banco/Entitad]),[Monto])

My assumption is that Monto is a measure that you have written.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.