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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
aardhala
New Member

on the fly Derived Dimensions in power bi

Hi, Is there any way to derive a dimension which is expression based and should be evaluated on the fly but not at the time of data refresh?

5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @aardhala,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

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

You can have a measure that creates a temp table as a VAR and then use that to perform calculations/filter/etc but not an actual table that gets created in the model.

 

What is the use case here? Perhaps there is a different way of going about achieving what you are going for here?



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thanks a lot Greg for the tip. The requirement  is to create a dynamic Ageing bucket. Can you give any example or a link to see an example on this concept you suggested. i.e. creating Temp Table through variable. 

Sure, check out this Quick Measure Gallery item I submitted:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Ranking-and-Aggregations/m-p/498802

 

I create a temp table using SUMMARIZE and add a Rank column to it for example in order to dynamically calculate the rank of a measure.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Nice feature Greg !Thanks. I will try it out ...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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