cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Analyze in Excel oddity

I'm wondering if anyone else is struggling with this. I've got numeric values in my dataset that are defined as decimal and default behavior is to sum. Works well in Power BI.

 

If I connect to the published data set using Analyze in Excel, those same numbers can no longer be used in the summation region of the Pivot Table. The only work around I've found is to redefine every numeric field as a DAX sum, which is problematic when you have large numbers of numeric data columns. 

 

I know this is how Excel pivot tables normally work against AS data sources for numeric, non-measure columns. Excel pivot tables treat numeric data differently from SQL sources and allow any numeric data to be summed.

 

I think in this case, the data set model behavior could automate its treatment of numeric data to emulate measures so that Excel can automatically aggregate the data properly in pivot tables. 

 

Thoughts? Anyone else not happy with this issue?

 

Thanks!

--Treb

 

Treb Gatte, Power BI Red Carpet Partner | Microsoft MVP | Twitter | Blog | Blog 2

6 REPLIES 6

Re: Analyze in Excel oddity

What you describe is the standard behaviour. Implicit measures do not work - you must define them explicitly. Personally I think this is they way it should be, but I understand why some others don't agree. My view is you should write explicit measures because 

1.  You can define a meaningful business name for the measure (eg a Total Sales instead of Sum of Amt)

2. You define the number formatting that is appropriate for the business

3. You learn how to write DAX

 

I describe it like this.  Imagine the only formula you could write in Excel was when you pressed the AutoSum button.  In that scenario, you would be very limited in what Excel could do.  This is analogous to using implicit measures in Power Pivot. Better to learn to write a DAX and get some practice by writing measures that add value - my view anyway. 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Re: Analyze in Excel oddity

I realize this is standard behavior from a data perspective. In this case, I disagree from a user experience perspective. Implicit measures should work as well as explicit measures in Excel for a consistent user experience.

 

I'm creating a Power BI model over an underlying product that allows the user to define new extended data fields via the product interface. The product then automatically adds these to the data source and I might not know a new one has been added to define an explicit measure.

 

It's a bad user experience as currently implemented as it creates an inconsistent UX across data sources and seemingly the same types of data. This in turn drives up support costs.

 

Also, in my case, the underlying table has one row per per. Technically, there's nothing to sum as there's only one value. However, I can't get the numerics treated correctly unless defined as a measure. Once you are defined as an explicit measure, the type of aggregation is controlled within Excel anyway so again, I'm not seeing value here of requiring the explicit measure.

 

Treb Gatte, Power BI Red Carpet Partner | Microsoft MVP | Twitter | Blog | Blog 2

 

 

rayishome Regular Visitor
Regular Visitor

Re: Analyze in Excel oddity

What about Direct Query Mode, it doesn't appear you can add Measures? 

Re: Analyze in Excel oddity

Correct. See this post http://community.powerbi.com/t5/Integrations-with-Files-and/direct-query-limitations/td-p/12516



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Re: Analyze in Excel oddity

As Matt says, it's a limitation. I'm going against all OData data sources in my case.

 

Treb Gatte, Power BI Red Carpet Partner | Microsoft MVP | Twitter | Blog | Blog 2

 

Highlighted
rayishome Regular Visitor
Regular Visitor

Re: Analyze in Excel oddity

Given the lack of support for measures and the current design what can the analyze in excel on a direct query be used for?

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors