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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.