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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
shraddha_psingh
New Member

Create a chart per week

Hello All,

 

I am trying to create a chart for per week analysis. The source is excel file that contains the list of assets, asset status, Begin Date and End Date. The chart should tell the user the number of assets that are in particular status(active/inactive) in the user selected week. My problem is - if there is an asset that is in a status for more than one week, how should I show it in the chart for week over?]\

 

Thanks in Advance!

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @shraddha_psingh

 

You may try to add a measure and drag the measure to Visual Level Filters to show the value as requested. For example:

Measure =
IF (
    DATEDIFF ( MAX ( Table[begin date] ), MAX ( Table[end date] ), DAY ) > 7,
    "Over Week"
)

1.png

 

Regards,

Cherie

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

First, Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

That being said, I have created a couple of Quick Measures to deal with things like what you are talking about:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364

https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,

 

Thank you for your reply! Apologies.. this is my first question to the forum. 

 

While using quick measure as suggested by you for open tickets, it got an error for [Date] as shown below - 

 

Dates.PNG

 

I created a new table for Dates using CalendarAuto() and created the releationship but no success. Is there anything I am missing?

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.