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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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