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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
abukapsoun
Post Patron
Post Patron

Daily growth of values

Hi Experts,

 

I am somehow newbie, and need your expertise to find the day to day growth of my dataset. 

 

Date TimeCatergoryValue
09 NovXXCat1600
09 NovYYCat1300
09 NovZZCat1800
10 Nov...Cat2100
10 Nov...Cat2452
10 Nov...Cat2536
10 Nov...Cat21234

 

I want to calculate the daily growth of the following: (Average of Cat1 values + average of Cat2 values)

 

Thank you very much 

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @abukapsoun ,

see my pbi file

https://1drv.ms/u/s!Aj45jbu0mDVJi1KGdgX4lpYmrLDQ?e=aPc2hD

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

9 REPLIES 9
mangaus1111
Solution Sage
Solution Sage

Hi @abukapsoun ,

see my pbi file

https://1drv.ms/u/s!Aj45jbu0mDVJi1KGdgX4lpYmrLDQ?e=aPc2hD

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

hi @mangaus1111 

 

Seeking your support one more time on that. I have a table with a column country and have values, and wants to check the same growth per country. I applied the same logic you have provided and got the below result. the left hand table is the one with real values per country. the right hand one, it has the growth. As you can see, the growth worked on the total value, but not per country. all countries are showing same total value. 

Can you maybe advise how I can fix that?

Thank you.

 

1.JPG

I noticed one thing, if I put a filter on the side and select it country by country, i can see the value reflected correctly. but if i select more than 1 country, the data get messed up 

2.JPG

 

3.JPG

Thank you very @mangaus1111 I am almost there reaching my purpose. 

 

There is only 1 thing that I would appreciate if you can help me further with. 

The values showing are the average of Cat1 or Cat2 or Cat1 and Cat2. While what I would like to display is the (AverageCat1 + AverageCat2). 

Would that be possible?

 

Thank you very much

hi, I used calculate and could achieve it. Thank you

abukapsoun
Post Patron
Post Patron

Any advice please?

amitchandak
Super User
Super User

@abukapsoun , Join your date with date of date table, and then like below can help

 

This Day = sum('Table'[Value])

This Day = CALCULATE(sum('Table'[Value]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])))
Last Day = CALCULATE(sum('Table'[Value]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])-1))
Last Day = CALCULATE(sum('Table'[Value]), previousday('Date'[Date]))

 

Day Intelligence - Last day, last non continous day
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c324...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

 

How did you use two measures with same name? I am confused what am I supposed to do about it 

 

This Day = sum('Table'[Value])

This Day = CALCULATE(sum('Table'[Value]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])))

Sorry Amit but I didn't really get it. Is it possible to have it in pbix file?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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