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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Liviachia
Regular Visitor

How to set Weekly Coverage in Query

Hi All,

 

I tried to bring my data in Query where there is Closing stock and forward demand. The formula can easily created in Excel to get the week coverage but I have no idea on how to apply it in Query. Refer to Screen shot below. 

 

Liviachia_0-1724383238988.png

 

2 REPLIES 2
lbendlin
Super User
Super User

Unlike Excel  Power BI likes its tables narrow.  That means unpivoting your source data to bring it into a usable format, and then implementing the business logic in the data model.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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