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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AjithTravvise
Helper II
Helper II

dax

Hello All,

    I am very new DAX and I mapush to work on this because of current situation. Please look into the below scenario and help me calculate the DAILY VALUE

 

Table Name : Sales

CountryDatePeriodic ValueDaily Value
India1/1/2020100 
India2/2/2020150 
India3/3/2020250 

 

1 ACCEPTED SOLUTION

Hi @AjithTravvise ,

 

In your DAX formula, replace "ALL" with "ALLSELECTED".

This will take into consideration any filters you are applying like the COUNTRY.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

9 REPLIES 9
Greg_Deckler
Community Champion
Community Champion

Wild guess on this one because I have no idea what you are expecting for Daily Value: https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Revenue-Reverse-YTD/m-p/373185#M111



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

 

I wanted to add one new column with daily value

 

 

Table.PNG

Hi Greg,

 

     This worked, but when I am applying filter by Country its not working

Regards

Ajith 

Hi @AjithTravvise ,

 

In your DAX formula, replace "ALL" with "ALLSELECTED".

This will take into consideration any filters you are applying like the COUNTRY.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

What i noticed is if the value is 0 it returns -ve figure.

Pragati11
Super User
Super User

HI @AjithTravvise ,

 

Can you please provide some details on how you want this DAILY VALUE to be caluclated? There is no reference in your question to what you want and it's impossible to answer.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Now i am unable to generate a daily sales report since i have only incremental values. I wanted to break it down to daily. I hope i am clear with my requirement.

Hi @AjithTravvise ,

 

Simple question - How can you generate daily sales if you don't have data for it? As you say you have got incremental values not daily values.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi Pragati,

 

     I need help in creating a measure for calculate the daily sales value.

Regards

Ajith

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.