cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

User-defined functions in DAX?

Hi, this is a general question about the DAX language as I can use it in Power BI:

 

Can I, as a user, define/create/reuse new functions in a Power BI report? I'm often in the situation that parts of several measures could be abstracted into a shared function. This is easy to do in M (Power Query) but I don't see any way to do this in DAX.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar
Resident Rockstar

Hi @Chris12

 

It seems that we cannot define a reusable dax expression in Power BI currently. 

 

You could vote this idea here which has been submitted in Power BI ideas forum and add your comments there to improve Power BI and make this feature coming sooner.

 

 

Best Regards,

Cherry

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

View solution in original post

1 REPLY 1
Highlighted
Resident Rockstar
Resident Rockstar

Hi @Chris12

 

It seems that we cannot define a reusable dax expression in Power BI currently. 

 

You could vote this idea here which has been submitted in Power BI ideas forum and add your comments there to improve Power BI and make this feature coming sooner.

 

 

Best Regards,

Cherry

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors