cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
naoyixue1
Post Patron
Post Patron

How to show the SKU consumption percentage based on the rolling 28 days records in column

Hi there,

I created a table using summarize DAX to pull the SKU transaction pecentage based on the rolling last 28 days trasactions records. Unfortunately, that percentage is fixed, not changed based on the date what I selected. ( I actually created a measure with the same dax, and that percentage really changes based on the different date, but the column in this virtual table not)

 

Would you help to take a look at it? Thanks!

naoyixue1_0-1611307572709.png

 
 

 

 
 

 

 

2 REPLIES 2
naoyixue1
Post Patron
Post Patron

I actually created a measure to pull the SKU Transaction percentage, which has the same DAX as I did above in column. But that transaction percentage really changes based on the different date I selected. Now i'm think whether I can add or catch that measure in the column based on the each SKU, but struggling how to capture the measure into column....Or you might have the different way to solve my problems. Thanks!

 

naoyixue1_0-1611308821962.png

 

Hi @naoyixue1,

Did you mean to create a dynamic table based on measure expression and filter selections?
If that is the case, current power bi does not support creating a dynamic calculate column/table based on filters. They are work on different data levels.

Notice: the data level of power bi.
Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors