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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Perakun
New Member

DATESYTD Not Working in Calculated Column Using Fiscal Date

Hi,

 

I'm trying to create a calculated column for YTD value using fiscal date, but it doesn't work. I've searched on many solved similar problems, but it's still not working till now. Here is the formula I use:

 

CALCULATE(SUM(Compiled[Client]), DATESYTD('Date Fiscal'[Date], "04/31")

 

Here is the table relation (month in Compiled table is a full-set date):

 

table relationtable relation

 

And this is the result I got:

 

ResultResult

Column "Sum of Client" is the data that I want to calculate, Column "Sum of Client YTD Col" is a calculated table that doesn't give my expected result, Column "Client YTD" is a measure and gives me the result I expected.

 

The reason I need to make YTD in calculated column instead of measure is becauese I want to make a calculated column of category based on the value of YTD, and then use that category colum as a slicer.

 

Can anyone help me with this please? Thank you..

1 REPLY 1
amitchandak
Super User
Super User

@Perakun , You can not create a calculated column based on meausre

 

try dynamic segmentation

refer examples

 

Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://youtu.be/EyL7KMw877Q

Power BI ABC Analysis using Window function, Dynamic Segmentation: https://youtu.be/A8mQND2xSR4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.