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
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
Employee
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?


@ 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!:
The Definitive Guide to Power Query (M)

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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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

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.