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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Genius
Frequent Visitor

summing a measure in range date

I have write this measure and visualize this in histogram

 

CSSHSommaBudgetMensile = var startDate = 'Date'[Da]
var endDate = DATE(YEAR('Date'[A]),MONTH('Date'[A]), DAY(EOMONTH('Date'[A],0)))
return CALCULATE(
             SUM(CSS_Details_H[BudgetTot])/1000000,CSS_Details_H[Unit] <>"UP_TRRVLDLIGA_S",
             FILTER(
            ALL ( 'CSS_Details_H'[Date]),
            CSS_Details_H[Date] >= startDate
                && CSS_Details_H[Date] <= endDate
        )        )
Genius_0-1681897124601.png

 

This is a granularity monthly hinstogram. I would like to commute the measure into of each colum in a sum of the corresponding column withe previuos ones between start date and end date (variabel calculated in the measure)

 

Example

Colum a= a

Colum b= a+b

Colum c=a+b+c

 

and so on

 

1 REPLY 1
Genius
Frequent Visitor

Hi have resolved!

Genius_0-1681978811394.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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