cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
V-lianl-msft Senior Member
Senior Member

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
V-lianl-msft Senior Member
Senior Member

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

V-lianl-msft Senior Member
Senior Member

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
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)