I am calculating the previous month sales and difference comparing with current and previous month but I get blank values in the column. How it is possible? This previousmonth function is not working for me.
do we need the dates from calendar table or can I get it from my fact tbale itself ? As, I have data till march but its comparing for April as well and summing it to 0 (for MOM comparison )
Hi Sir, Here if we select current year (2021) then it shows current month (Jan 2021) minus previous month (Dec 2022). but i want to show that if i select current year it will show same value for 1st month that is Jan 2021 without previous month value? can you tell us how to do it? if anyone here knows it they can help me thanks in advance
I just have one metric I want to do this for so example; I don't use 'quantity x price', but just 'quantity'. However, I did these steps for one metric (used SUM instead of SUMX ) which works to mimic the same values as the original 'quantity' values, however next step with 'last month' calculation does not work (no values are shown). Tips anyone?
How can you compare Month to Date (MTD) vs. Last Month to Date (LMTD) where the reflection and visualization of data shall be based on the current date TODAY(). Thanks.
Hello There, Its explained very well.Thanks Actually I am having Query that if i have 2 years data i want to show that MOM value for first month of each year should be same as actual but in my case it is taking =YTD value of Previous Year (2022)- January 2023 = giving wrong result it must take January 2023 as it is when i select year 2023 and also for 2022 Could please help on the same. if required more details please let me know
Nice video, how can we restrict it use only single year, though I have selected a single year as 2021 in the slicer, but still Jan 2021 compares the values with Dec 2020. Is there a way to restrict only selected year ? Jan 2021 should be blank
Hi Vijay, it sounds like you'll need to wrap the whole measure with IF(NOT(ISBLANK(), [Measure here])) This makes sure any rows without any values will be excluded
Hello, I have a questions regaring Day on Day fuction - i understand why BLANKs showed up but is there any way that if we don't have a data from PreviousDay our measuer will take next No Blank value? Btw thanks for your videos that was a milestone for me :)
Thanks for watching! In this case you'll probably need a different solution, you can try this one I covered recently which uses DATESINPERIOD ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_UV_PgtKhWk.html
This is just what I needed but my situation is I want to compare current year monthly to last year monthly and shows the difference in percentage. I can't use 'previousmonth', what should I use to get the previous year monthly? Thanks for your help as always.
Hi and thanks for all the content you share. What if I want to compare January to every other month and get the % of change between Jan and other months in the particular year?