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

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.

Reply
jondiaphanum
Frequent Visitor

inconsistent data between desktop and service (calculated table and a measure)

I have defined a new table ("crecimiento") based on the following DAX expresion:

 

Crecimiento = SUMMARIZE('contratos';'contratos'[fecha].[Date];' contratos'[nomcontrato];' estructuracomercial'[filial];"CrecDiario";CALCULATE(sum('contratos'[saldoeur]);LASTDATE('contratos'[fecha].[Date])) - CALCULATE(SUM(' contratos'[saldoeur]);PREVIOUSDAY(LASTDATE(' contratos'[fecha].[Date]))))

 

And I have added a visual with some measures, in example "YTD" as

 

YTD = TOTALYTD(sum(Crecimiento[CrecDiario]);Crecimiento[Date])
 
When I see the report in PBI DESKTOP it calculates ok this measure, however, when this I publish to the report server this report, the measure is multiple by much bigger and has nothing to do with the correct result (multiplied by 1MM at least)
 
Thanks 

 

 

 

 

 

 

2 REPLIES 2
v-cherch-msft
Employee
Employee

Hi @jondiaphanum 

It seems it is an issue with timezone.For further,please have a look at this post to check if it could help you.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reponse,

 

After reading the other post, I decided to change format for "date" value in the following "summarize" dax function

 

'contratos'[fecha].[Date];

 

but I am not sure how to change the "grouping" clause in the function so as to change [date] and use convert instead of it

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors