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

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
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.

Highlighted
clem_lx Frequent Visitor
Frequent Visitor

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

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 Frequent Visitor
Frequent Visitor

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 Frequent Visitor
Frequent Visitor

Re: Group By with some comparison on Dates

Hi,

Your solution seems to work, thanks for your help.

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