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
Anonymous
Not applicable

Start date for ascending and end date for descending issues

Hi Everyone,

   I tried to implement Fiscal years of data by using start dat and end date so I want to create new column for startdate using ascending and end date using descending and then sum of all other four columns based on that date. But I didn't get an exact output.. I attched my screenshot for what I want to achieve in powerbi. Kindly help me as soon as possible...Start and end date.PNG

 

Advance thanks to all

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @Anonymous,

It seems like a common analysis across multiple date fields, I'd like to suggest you take a look at below blog 'start date', 'end date' part if it suitable for your requirement:

Before You Post, Read This  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , Nor very clear, Only thin I am getting start date or end date should be between fiscal year.

Please note the slicer/date table should not be connected with the table or use crossfilter to remove join

 

measure = 
var _max = maxx(allselected(Date),Date[Date])
var _min = minx(allselected(Date),Date[Date])
return
calculate(sum(Table[Data]), filter(Table,(Table[Start Date]<=_max && Table[Start Date]>=_min )|| ( Table[end Date]<=_max && Table[end Date]>=_min)))
Anonymous
Not applicable

@amitchandak 

   Thanks for your reply. I tried your measure but it gives the measure based on dates but I want to show my expected output like the screenshot. I want to show the start date and end date along with the sum of the test1, test2, test3,  test4 also shown in a table structure.  

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.