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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
damit23183
Microsoft Employee
Microsoft Employee

Display Alternate week number only

Hi,

 

I am working on column chart where I would like to only show alternate week number in graph,

 

I have this now;

Test.png

However, I would like to see like this;

Test.png

As you see I dont want to show higlighted week number, however all column should be there with values in it. Only want to hide higlighted week number on x-axis otherwise everything should be same.

 

NOTE FYI: This stack column chart.

I tried with ISEVEN and ISODD based on week number but didnt work.

 

 

Thanks

 

1 ACCEPTED SOLUTION

No, it didn't resolve but convinced my client to choose to other way.

Thanks for reaching out.

View solution in original post

7 REPLIES 7
v-xiaotang
Community Support
Community Support

Hi @damit23183 

Thanks for reaching out to us.

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

No, it didn't resolve but convinced my client to choose to other way.

Thanks for reaching out.

Anonymous
Not applicable

Hello!

 

I am wondering how you displayed the weeks by date. I found the week numbers, but my client would like this in an easier to read format. What formula did you use to display the weeks with month and first date of the week? As you have in your graph. 

 

Thanks!

kunal15sep
Frequent Visitor

Add a calculated column:

 

var _weeknum= WEEKNUM(DATE[DATE])

 

RETURN

IF(_weeknum%2==1,1,0)

 

Use desire weeknum in visual filter of the chart

Hi Kunal,

 

Thank you for your response.

Just a quick question on DAX you have provided;

 

In Return statement, is it % or / ? Because how come % will work?

Thanks

I meant MOD(_weeknum,2).

Please check the documentation here: 

 

https://learn.microsoft.com/en-us/dax/mod-function-dax

Thanks for your response.

 

Well it didnt work though. I convinced them to choose another solution.

 

Thanks

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors