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

nextday empty value

I've the following report https://1drv.ms/u/s!Amd7BXzYs7AVlXPjuP0CfblYyc5K?e=lzqKkA

 

I'm trying to caculate value for current day and the value for the newt day 

for the lastest day why it's blank?

jaweher89_0-1653734677218.png

 

Any help will be appreciated

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

JamesFr06_0-1653745888117.png

Hope this helps you here is the final measure

View solution in original post

15 REPLIES 15
Anonymous
Not applicable

Are you looking for this ?

JamesFr06_0-1653744801284.png

 

Anonymous
Not applicable

@Anonymous  yes exactly !! how you did it please 

Anonymous
Not applicable

@Anonymous  why 10/05 is shown in the picture, but you select 11/05 till july please?

Anonymous
Not applicable

JamesFr06_0-1653745888117.png

Hope this helps you here is the final measure

hnguy71
Memorable Member
Memorable Member

Hi @Anonymous ,

 

Your stockperdate only goes up to the current date and never the next day, hence the "next" day is always missing. To fix this, increase your max day by 1

hnguy71_0-1653744358418.png

 

If this is a base measure, and you have other measure dependencies, try to remove your date filters until you absolutely need it. Alternatively, you can create a separate measure for it.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Anonymous
Not applicable

If you remplace _Nextday by Today the last row will not remain blank.

Perhaps you have to work again ion the measure to get the difference done

Anonymous
Not applicable

yes, indeed, _today works correctly, but the issue is with _nextday. I'm not able to figure out the issue.

Than you 

Anonymous
Not applicable

Pour moi ca vient dans le calculde la date Nexday. Tu lui dis de prendre le Max de la date alors que nextday c'est la date du jour +1

JamesFr06_0-1653743752864.png

Try this

Anonymous
Not applicable

thhe result is wrong; _next day should be 94 et _today = 94 so result should be 0 

Anonymous
Not applicable

@Anonymous what should I try it please?

Thank you very much for your help.

Anonymous
Not applicable

Sorry I made my respopnse in French

 

For me the problem is on the calculateion on next day.

Next is today +1 and on your measure you take only the max of the row, so you take today.

Look at the pprevious picture I sent I had changed the formula. Try it to see if it is ok for you

Anonymous
Not applicable

I tested, but it returns wrong results.

Thank you

Anonymous
Not applicable

I made a check, you have first to declare your Table date as date if you want time intelligence to work

Anonymous
Not applicable

 

 

Just beacause in your Perte measure you only return _Nextday, you did use switch to use _Nextay or Today

JamesFr06_0-1653742940922.png

 

Anonymous
Not applicable

the goal is to calculate the diffrence between _today and _nextday, but I notice that that _next for the lastest date is always empty which is wrong.

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.