cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clem_lx
New Member

Group By with some comparison on Dates

Hi to everyone,

For a few days, I'm facing a problem, after a lot of searches I can't find a good clue so I'm trying to find it here. 

I just to group some datas with comparisons.

There is an example of the Datas at the end

 What I would like to do is for each date to sum the metric values for eachdate and th eprevious ones with the files that didn't change. 

In yellow you can find an example of the values I would like to sum for friday the 12th.

Hope you'll be able to give some help. 

Thanks by advance 

Clem

DatesMetric.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft V-lianl-msft
Microsoft

Re: Group By with some comparison on Dates

Hi @clem_lx ,
 
Based on your description, I can think that your idea is to get the sum of the latest values of all items for the selected date. You can refer to this Pbix, which may help you.

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

View solution in original post

5 REPLIES 5
Microsoft V-lianl-msft
Microsoft

Re: Group By with some comparison on Dates

Hi @clem_lx ,

 

Based on your description, do you want to accumulate the measures of the same file? Is the measure that has been created marked in yellow? Can you provide more details and the results you expect?

 

Best Regards,

Liang

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

clem_lx
New Member

Re: Group By with some comparison on Dates

Hello,

I think it wans't clear enough .... 😞 
My issue is about to sum the metric value (third column) for each day. 
What I would to include in the sum is all the values of the day and the the ones of the previous days that didn't change.

In yellow is there just an example of the values I would like to sum for the Friday. 

 

Hope it's better now,
Thanks for helping

Clem

Highlighted
Microsoft V-lianl-msft
Microsoft

Re: Group By with some comparison on Dates

Hi @clem_lx ,
 
Based on your description, I can think that your idea is to get the sum of the latest values of all items for the selected date. You can refer to this Pbix, which may help you.

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

View solution in original post

clem_lx
New Member

Re: Group By with some comparison on Dates

Thanks for the answer, I'm having a look on what you've sent and I'll give you some words. 

Could you please maybe explain what you did here ? 

 

clem_lx
New Member

Re: Group By with some comparison on Dates

Hi,

Your solution seems to work, thanks for your help.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors