cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CJensen Frequent Visitor
Frequent Visitor

Sales YTD last year shows wrong result

Hi 

I have problem with getting the correct numbers from sales YTD last year and sales last month. It looks likes the numbers are aggretated, when I add the months the numbers are correct. 

 

I am bit stuck on what to do. Do you have any input? 

2019-03-18_0858.png

 

 

3 REPLIES 3

Re: Sales YTD last year shows wrong result

Hi @CJensen ,

 

This issue is might be becuse of incorrect relationship or no relationship in your data model.
Can you Please go to relationship view and see how these filelds are related?

 

Thanks,
Amit

CJensen Frequent Visitor
Frequent Visitor

Re: Sales YTD last year shows wrong result

Hi Amit

 

Thank you for your reply. Ive added the screenshot of the relationships and the sample file. Im uncertain of where the error could be. 2019-03-18_0949.png

 

Sample file

Re: Sales YTD last year shows wrong result

Hi ,

You are using Custom Date table, can you Please mark your date table as "Mark as date table".
If you are trying to acieve runnning total using that measure, try to re-write the logic with TotalYTD function in dax.

 

Salg total sidste år =

TOTALYTD(Salgslinjer[Samlet Salg],Dato[Date])

 

Thanks,
Amit

 

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors