cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dc189 Regular Visitor
Regular Visitor

Showing CAGR in Direct Query Model without Calculate function

Hello,

 

I have a direct query model and want to calculate CAGR but the calculate function doesn't work with direct query (https://powerbi.tips/2016/05/measures-calculate-cagr/). Is there an alternative to calculate function in direct query, to calculate CAGR?

 

Thank you. Would appreciate some help.

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator Eric_Zhang
Moderator

Re: Showing CAGR in Direct Query Model without Calculate function

@dc189

The link returns a 500 error and can't be loaded when I post. If you could share any information on the CAGR formula, maybe we can replicated the same in DAX.

 

By the way, in case you're talking about the measure limitation in DirectQuery mode, you can try to click "File"->"Options and settings"->"Options"->"DirectQuery"->check "allow unstricted measures"

View solution in original post

3 REPLIES 3
Moderator Eric_Zhang
Moderator

Re: Showing CAGR in Direct Query Model without Calculate function

@dc189

The link returns a 500 error and can't be loaded when I post. If you could share any information on the CAGR formula, maybe we can replicated the same in DAX.

 

By the way, in case you're talking about the measure limitation in DirectQuery mode, you can try to click "File"->"Options and settings"->"Options"->"DirectQuery"->check "allow unstricted measures"

View solution in original post

dc189 Regular Visitor
Regular Visitor

Re: Showing CAGR in Direct Query Model without Calculate function

Thank you! Worked perfectly! Although I wonder why MS would restrict certain measures from DAX as default.

Moderator Eric_Zhang
Moderator

Re: Showing CAGR in Direct Query Model without Calculate function

@dc189

For performance improment in DirectQuery mode, check the DirectQuery limitation.

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)