Showing results for 
Search instead for 
Did you mean: 
New Member

DAX measure has wrong value on display return

I ended up identifying a strange result in a DAX.
Applying the context here in this brief text, it is a summary of total sales names, being divided by an accumulated daily share.

Below, one exemple.













In yellow, BRL 13,587.64/0.2727 = BRL 49,826.32. Is correct.In orange, BRL 383.29/0.2727 = BRL 8,976.35. By the logic of the calculation, it should return R$ 1,405.54...

The DAX involved in the calculation are:

current GMV=CALCULATE(SUMX(fPurchase, fPurchase[gmv]),dCalendar[actual_month] = "Yes")


accumulated goal =
dCalendario[Date] <= MAX(dCalendario[Date])
), dCalendario[actual_month] = "Yes") //Here I accumulate the daily share to complement other calculations.

Forecast = DIVIDE(GMV Atual, Meta acumulada, 0)

I ran several more tests using different templates and frameworks, but the result turned out to be the same.



Community Support
Community Support

Hi @madureirav ,


Please share a sample file with me and show me a screenshot with the result you want.

This will make us easier for me to find the solution.


Best Regards,
Rico Zhou


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

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors