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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
RichOB
Post Partisan
Post Partisan

Need help with measure that gathers amounts from empty cells

Hi, using the table below, what measure would gather the amounts based on there Not being an end date? I need to show in a graph that July and August has $200 each.

 

Client_IDStart_DateEnd_Date Amount
101/04/202422/04/2024$150
201/05/202405/05/2024$100
301/06/202410/06/2024$80
401/07/2024 $200
501/08/2024 $200


Thanks!

1 ACCEPTED SOLUTION

Hello @RichOB , 

 

To turn Blanks to crrent date you just pass a condition if(isblank(column), Today())

 

If you find this helpful , please mark it as solution and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

View solution in original post

4 REPLIES 4
audreygerred
Super User
Super User

In your graph, can you use start date instead of end date? If not, perhaps create a column that will provide the end date if there is one and start date if there is not - then use that new column as the axis in your chart. Your measure (regardless if you use the start date, the new column, or the date from a date table connected to one of those two columns as your axis) is Amount Total = SUM ('YourTable'[Amount]).





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





dharmendars007
Super User
Super User

Hello @RichOB , 

 

Please try this below measure..

 

Sum Amounts with No End Date =
CALCULATE(
SUM(ClientData[Amount]),
ISBLANK(ClientData[End_Date]) || ClientData[End_Date] = BLANK())

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Hi @dharmendars007 , unfortunately, this didn't work, it kept giving me a blank card as if it was not pulling through the amounts. I broke down the measure and it worked until: 

 
 
 
 
I'm not sure if you know why that would be. Alternatively, do you know if there's a measure to turn blank values into the current date? That could also work.
 
Thanks! 

 

Hello @RichOB , 

 

To turn Blanks to crrent date you just pass a condition if(isblank(column), Today())

 

If you find this helpful , please mark it as solution and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors