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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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