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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
rcister
Frequent Visitor

rocio

Hello.

I need help 

I have the following table 

rcister_2-1621016358921.png

 

the column Count represents is one because it represents each row of overnight stays. I need to sum the Count column and be able to filter by timeStamp. It is important that the dates are summarized
eg
timeStamp
04/21/2021 ---> result equals 5
04/30/2021 ---> result is equal to 10 (the top 5 plus the current 5)

 

Thanks!!!

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @rcister,

 

You can create measure as:

Measure = 
CALCULATE(
    SUM('Table'[Count],
    ALL('Table')
)

Then you can apply the date slicer.

 

 

Best Regards,
Link

 

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

4 REPLIES 4
v-xulin-mstf
Community Support
Community Support

Hi @rcister,

 

You can create measure as:

Measure = 
CALCULATE(
    SUM('Table'[Count],
    ALL('Table')
)

Then you can apply the date slicer.

 

 

Best Regards,
Link

 

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

dkaushik
Resolver II
Resolver II

Hi @rcister ,

 

Are you trying to do it in power bi or excel? If power bi, then create a measure like this:
Sum of Count = CALCULATE(SUM('Table'[Count])). Then create a table visual and put your timestamp and this measure in.

 

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

 

Thanks,

Dheeraj

the source is from a excel , but i'm working power bi, this table is related with a master calendar, with the relation bwt calendar[datekey] ( represent a key for one unique date) and table [datekey] ( represent the key for overnigth date)

 

 

 

Okay. Then, the above solution should work.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.