Forum Discussion

PowerBuddy1's avatar
PowerBuddy1
Frequent Visitor
4 years ago

Time Intelligence Visual

Hi,

 

I am trying to display YTD LY, MTD, and Current Year YTD in the same visual (client requirement). Something like below: 

 

 

Measures: 

 

YTD_Yield= 

if([Total_Yield] =BLANK(), BLANK(), CALCULATE(TOTALYTD([Total_Yield],'Calendar'[Date])))
 

LY YTD = 

CALCULATE([YTD_Yield], SAMEPERIODLASTYEAR('Calendar'[Date]))
 
MTD Yield = CALCULATE(TOTALMTD([Total_Yield],'Calendar'[Date])))
 
All the values are in %.
 

Any advise, tips/tricks would be great!

 

Thanks!

6 Replies

    • PowerBuddy1's avatar
      PowerBuddy1
      Frequent Visitor

      Hi danextian This is exactly what I am looking for! But not able to access the file. It says access denied. Have requested for access. Can you pls provide? Thank you so much! 

      • danextian's avatar
        danextian
        Super User

        Hello. I've made the pbix publicly available.

  • jsaunders_zero9's avatar
    jsaunders_zero9
    Responsive Resident

    It is possible to acheive but it is complicated to produce and maintain and really not recommended. When I see requests for this it is normally a carry over from an existing Excel report.

    Could you talk the user/s into using the drill functionality rather than trying to include it all in the single view?

  • PowerBuddy1 you can also check the 3 part series video on my YT channel that talks about mixed granularities:

     

    https://youtu.be/MxDMJYhfh2c

    https://youtu.be/ESnX3eMiWZg

    https://youtu.be/89kbpmSbyDw

     

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.