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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syruswan
Helper I
Helper I

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
v-chuncz-msft
Community Support
Community Support

@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
v-chuncz-msft
Community Support
Community Support

@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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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