cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Syruswan Frequent Visitor
Frequent Visitor

How to create dynamic sum?

Hello 

 

I've been struggling on how to generate a dynamic sum. Here is the story, my customer has canceled several appointments before checking out. The goal is to calculate the missed appointment value base on the visit. Below is the table.

 

Product ID              VisitDate              VisitStatus              Dollar $

5                            2/4/2018               Canceled                $1000

5                            3/2/2018               Canceled                $1000

5                            3/25/2018             Canceled                $1000

5                            4/8/2018               Check out               $1000

 

I'm using "VisitDate" for my timeline visualization. When I select a smaller time scale like "month", it will count March 2 times and show $2000 as the sum. But I only want to count the dollar value once when there are multiple canceled visits in the timeline I select. In this case, I want the sum shows $1000.

 

Thank you in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to create dynamic sum?

@Syruswan ,

 

You may try adding a measure.

https://community.powerbi.com/t5/Desktop/Labour-Efficiency/m-p/565837#M267006

Community Support Team _ Sam Zha
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

1 REPLY 1
Community Support Team
Community Support Team

Re: How to create dynamic sum?

@Syruswan ,

 

You may try adding a measure.

https://community.powerbi.com/t5/Desktop/Labour-Efficiency/m-p/565837#M267006

Community Support Team _ Sam Zha
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

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors