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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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