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
joc
Helper I
Helper I

Graph with conditions

Hello everybody,

 

I need your help again for a new problem.

I would like display the data where WEEK_NUM is the highter for the 2 last years (in yellow) . I don't know how do to that.

My table :

tableau.jpg

 

 

And I would like this type of graph :

graphique.jpg

Thanks in advance for the help,

Joc

 

1 ACCEPTED SOLUTION
Back2Basics
Helper IV
Helper IV

I have managed to replicate the graph you are after, but it isn't filtered on the top WEEK_NUM for each year. It is based only on the VALUE - the maximum for each month. So if the top WEEK_NUM means the VALUE is also at it's higest this will work for you:

 

cluster column chart with the values as 'Max of VALUE' and a slicer based on the YEAR. You can select one year or more than one by using Crtl + select

 

Capture.JPG

View solution in original post

2 REPLIES 2
Back2Basics
Helper IV
Helper IV

I have managed to replicate the graph you are after, but it isn't filtered on the top WEEK_NUM for each year. It is based only on the VALUE - the maximum for each month. So if the top WEEK_NUM means the VALUE is also at it's higest this will work for you:

 

cluster column chart with the values as 'Max of VALUE' and a slicer based on the YEAR. You can select one year or more than one by using Crtl + select

 

Capture.JPG

Thank you, it's working like that !

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.