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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Total value wrong in table

Hi all!!

I have this meansure bellow, when this mensure is in line is write, but the total value is wrong.

Someone know how could I do this ??

Thank so much,

VAR MaxDate = MAX(fEstoque[OrderDate])
VAR Result =

CALCULATE(
[Desvio Consumo] * [Custo Standard],
fMovimentacoes[OrderDate]<=MaxDate,
ALL( fMovimentacoes[OrderDate])
)

Return
Result
5 REPLIES 5
Anonymous
Not applicable

Isn't running write, I could with Sumx But it is very slowly

ERD
Community Champion
Community Champion

@Anonymous ,

You can try a bit another approach: https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-Formula-Total-is-coming-0/m-p/1719572 

If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

ERD
Community Champion
Community Champion

@Anonymous , 

Performance of the measure is dependent on many factors: data model, the relationship of

tables, etc.

Try to read this: 

 Performance Tuning DAX - Part 1

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

ERD
Community Champion
Community Champion

Hi @Anonymous ,

The answer for this topic (incorrect totals for measures) can be found in this forum.

For example, Correct values, but wrong total .

 

If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

Anonymous
Not applicable

Its run, but i have a lot data so i cant't use Sumx because gonna be very slowly

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.