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
hemingt
Helper V
Helper V

how to get the data of the latest week in the history

Hello, 

 

I have a table to save bugs of each week.

I want to let some charts always display the statistic of the latest week. This latest week may not equal the current actual week.

Do you have some suggestion?

1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @hemingt ,

Based on my test, you could refer to below steps:

Create below column:

Latest = IF(WEEKNUM('Table1'[Date])=MAXX('Table1',WEEKNUM('Table1'[Date])),"Latest","Not latest")

1.PNG

Set below filter:

2.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

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

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @hemingt ,

Based on my test, you could refer to below steps:

Create below column:

Latest = IF(WEEKNUM('Table1'[Date])=MAXX('Table1',WEEKNUM('Table1'[Date])),"Latest","Not latest")

1.PNG

Set below filter:

2.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

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

Thank you @v-danhe-msft 

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.