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

View all the Fabric Data Days sessions on demand. View schedule

Reply
IF
Post Prodigy
Post Prodigy

Daily value

Hi,

I want to show the daily value in a table/matrix. I have the following sample:

DateValueReadyStorage

MatNoDateValueReadyStorage
A17/1/20222nullnull
A17/2/20223nullnull
A17/2/20224nullnull
A17/3/20224nullnull
A17/4/20223nullnull
A1nullnull820
A3nullnull46
A37/1/20222nullnull
A37/2/20225nullnull
A37/3/20222nullnull
A37/4/20223nullnull
A37/5/20222nullnull
A37/5/20225null

null

 

 

The column is Ready+Storage. I want to show the daily values after calculating the daily value. The calculation should be what is left by column value - value for the day. For example; A1 is having value 2 on 1 July. The "left" should be 28-2=26. The next day's value is 7 and the "left" value for July 2 should be 26-7 =19 and so on.

desired.jpg

Thanks in advance!

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @IF ,

 

Try to add the following measure:

Measure = CALCULATE( sum('Table'[Storage]) + SUM('Table'[Ready]), ALLSELECTED('Table'[Date])) - CALCULATE(SUM('Table'[Value]),'Table'[Date] <= MAX('Table'[Date]))

 

MFelix_0-1657530421771.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @IF ,

 

Whether the advice given by @MFelix  has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.


Looking forward to your feedback.


Best Regards,
Henry

MFelix
Super User
Super User

Hi @IF ,

 

Try to add the following measure:

Measure = CALCULATE( sum('Table'[Storage]) + SUM('Table'[Ready]), ALLSELECTED('Table'[Date])) - CALCULATE(SUM('Table'[Value]),'Table'[Date] <= MAX('Table'[Date]))

 

MFelix_0-1657530421771.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thanks. It works.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors