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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Measure Visualization by Week

Hello,

 

I have a measure showing the value in a visualization like this: 

 
Overdue = CALCULATE(COUNT(Table[Overdue]), Table[Overdue] = "overdue") + 0
166aea9765b02cf133b6df18a497f05f.png
The table that this measure draws from has various date columns that I think would be involved in my answer.
 
What I would like to show is this measure's value, but how it changes by week, like this:
Picture1.png
Is there any way that I can do this? I have thought about adding a table that contains a list of dates then tying it to the parent table someway, but I am unsure if that would work or if there is a better solution.
 
Thank you
1 ACCEPTED SOLUTION

Hi @Anonymous ,

It could be related to your Power BI version.

Mine is: 2.80.5803.1061 64-bit (April 2020)

 

I've just downloaded the file and opened it without problems.

Can you try using the latest version?

Cheers,

Marco

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Typically Overdue is as on date. If it can work with past dates. Then you can have a date table and create a Week Number like

Week ="WW" & Week Number = WEEKNUM([Date],2) //Monday Week

Week ="WW" & Week Number = WEEKNUM([Date]) //SundayWeek

 

Or like

Week Number =WEEKNUM([Date],2)

Week  = "WW" & if('Date'[Week Number]<10,'Date'[Year]*10 & 'Date'[Week Number],'Date'[Year]&'Date'[Week Number])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
MarcoPessina
Resolver IV
Resolver IV

Hi @Anonymous,

you can achieve it adding a Date table, creating a relationship with your table and using the measure you have created.

Annotation 2020-05-13 122000.jpg

Try this:

https://1drv.ms/u/s!AqOXkXXQjzm4bYGECHgAE1jhqgc?e=IV1FKv

 

Hope it helps.

Cheers,

Marco

Anonymous
Not applicable

Hello Marco,

 

Whenever I try to open your file I get an "Object reference not set to an instance of an object" error

 

Thanks for helping

Hi @Anonymous ,

It could be related to your Power BI version.

Mine is: 2.80.5803.1061 64-bit (April 2020)

 

I've just downloaded the file and opened it without problems.

Can you try using the latest version?

Cheers,

Marco

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.