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
nagoor
Helper III
Helper III

showing 2 different dates dynamically

Hi Guys,

 

Could you suggest an idea to plot the graph like this in a dynamic manner in the date filed? it needs to adjust automatically  based on the current day 

2) auto toggling between graphs on every 10 minutes one graph to another graph in clockwise. Please suggest

 

eg: same day last week 

 

asd.JPG 

 

 

1 ACCEPTED SOLUTION

Hi @nagoor,

 

You can try to use following formula to get 'same day last week' average of available amount:

Measure =
CALCULATE (
    AVERAGE ( 'raw data'[Availability] ),
    DATEADD ( 'raw data'[Period], -7, DAY ),
    VALUES ( 'raw data'[Hrs] )
)

 12.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @nagoor,

 

#1, Yes, it is possible to create a 'same day last week' graph line in line chart, can you please share some sample data for test and coding formula?

 

#2, Nope, I don't think it is possible to achieve this requirement.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

hi @v-shex-msft 

 

Thanks for your response, i have attached the sample data. please have a look and provide your comments. 

 

Sample Data

 

Thanks,

nagoor

Hi @nagoor,

 

You can try to use following formula to get 'same day last week' average of available amount:

Measure =
CALCULATE (
    AVERAGE ( 'raw data'[Availability] ),
    DATEADD ( 'raw data'[Period], -7, DAY ),
    VALUES ( 'raw data'[Hrs] )
)

 12.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

@v-shex-msft

 

Thanks for your support, got it now.. 🙂 

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.