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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dqian
Frequent Visitor

Display data with different time duration together

I have to show weekly data in two years together, in which the data in previous year has 52 weeks, and the data in current year has YTD. I would like to know how to show them together like the picture below (green for prevous year, orange for current year). Thank you.

 

WeeklyData.png 

2 ACCEPTED SOLUTIONS

Hi @dqian,

 

Please mark my response as solution, if it really healped you. Smiley Happy

 

Regards,

Atish

View solution in original post

7 REPLIES 7
v-yuezhe-msft
Employee
Employee

@dqian,

Could you please share dummy data of your table? For the previous year, do you still want to calculate YTD?


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Lydia, thank you for your response. Below is my dummy data. I want to show the both 2017 and 2018 year's percentage together.

 

YEARWEEK%
2017281%
2017391%
2017454%
2017548%
2017667%
2017981%
20171125%
20171361%
20171580%
20171645%
20171777%
20171872%
20171952%
201721100%
20172248%
20172375%
20172420%
20172549%
20172677%
20172773%
20172829%
20172958%
20173078%
20173156%
20173248%
20173371%
20173483%
20173594%
20173657%
20173760%
20173861%
20173990%
20174058%
20174172%
20174269%
20174361%
20174455%
20174547%
20174654%
20174751%
20174848%
20174948%
20175072%
20175154%
20175237%
2018144%
2018261%
2018352%
2018461%
2018542%
2018651%
2018733%
2018810%
20181050%
20181141%
20181245%
20181384%

Hi @dqian,

 

Just tried with your data. I believe this is what you are looking for.data.png

Yes. But what I got is. It won't display all the weeks for 2017.

 

Capture.PNG

Change type as continuous to categorical under x axis properties.

 

data1.png

Okay, Thank you.

Hi @dqian,

 

Please mark my response as solution, if it really healped you. Smiley Happy

 

Regards,

Atish

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.