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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sajal161292
Helper V
Helper V

To calculate the date of a cell

Hi,

 

I have a requirement of highlighting the report as per a 3rd column.

 

Capture12.PNG

For this I need to calculate the date at which the negative total appears for the first time in the report for every part(highlighted in red color).

 

As an example 3/30/2018 for one of the part in this case.

 

I have tried using the FIRSTDATE function but it is not giving me the correct date(it is giving me incorrect date i.e. the first due_date in this visual).

 

So can you please help me in achieving it?

8 REPLIES 8
v-xjiin-msft
Solution Sage
Solution Sage

Hi @sajal161292,

 

Could you please share us some sample data (which we can copy and paste directly) if possible? So that we can make some proper tests rather than just guessing. Smiley Happy

 

Thanks,
Xi Jin.

Shall i include my pbi file here?

 

Hi,

 

I have copied my sample file at the location

 

https://drive.google.com/open?id=19LgThaihWegJhrTSBxF5FikcFgcyCd4c

Hi @sajal161292,

 

First thanks for sharing the pbix file. It helps a lot to understand your requirement.

 

And per my understanding about the unworkable FIRSTDATE function. It maybe related to the ISONORAFTER() in measure Total1. So could you please make an explaination about the logic of this measure?

 

Thanks,
Xi Jin.

 

 

 

 

Hi,

 

Thank you for the update!!

 

The total1 measure if used to rollup the total(Delta= Supply-Demand in this visual) from 1st day till the end(90 days in this case).

My business requirement was to perform the cumulative addition of the quantities from the first date till the last date in the report.

 

Hi,

 

Can anyone please provide me a solution to this?

 

 

Hi,

 

Could you please provide me some solution or an alternative approach for solving this problem?

Hi,

 

Any pointers will be highly appreciated!!

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.