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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.