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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

New Table with a summarize column with advanced calculation

Hi, i am a new column generated by the group by of a value open by index, but  i need a new column, which do a new calculation based in a last day calculation, but else need a comparison within a value inside the calculation.

 

i leave an example here. 

 

 limit4250             
IndiceValuesCalculation             
1164266=4250 +16  for the first data, need to do the calculation between the limit and the first value  = 4266
2-234,524015=but, since the second day the sum must be  4266 + ( - 234,52 ) , but if this sum is greater than the limit 4250 the sum mus be 4250 + (-234,52)= 4015
30,23454016=but since the second day the sum is 4015 + ( 0,2345 ) , but if this sum is greater than the limite 4250 the sum must be 4250 + (-234,52)= 4016
472,663394088=            
5-1,24087=            
623,0065474110=            
7-234,523876=            
80,23453876=            
1072,663393949=            
5 REPLIES 5
amitchandak
Super User
Super User

The information you have provided is not making the problem clear to me. Can you please explain with an example. If possible please share a sample pbix file after removing sensitive information.
Thanks.

My Recent Blog -
Time Intelligence - Direct Query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak thank you very much for ur help an attention, here the links with a power bi field and the excel field with some solution for the excersice. 

 

https://1drv.ms/u/s!AtEkAF7ffIsqg8QydUJ-4mO8DSetEQ?e=haphe9

 

https://1drv.ms/x/s!AtEkAF7ffIsqg8QxJ_vUuiBgTL98uQ?e=Y3uIyZ

Anonymous
Not applicable

Hi @Anonymous ,

 

Have your problem be solved?

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

Anonymous
Not applicable

hi @Anonymous  am stil without resolution, am trying to do out of power bi, by the way is not my expectative. Can you help me ? thanks! 

Anonymous
Not applicable

Hi @Anonymous ,

 

So you want to calculate a value based on previous value? I'm afraid you can't do it with DAX in my opinion. I think excel can do that.

 

Best Regards,

Jay

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors