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.

DAX PRODUCT function bug with different number formats and ALL table

For the simple table with one column:

 

Column1
1
2
3
4

 

PRODUCT function returns different results, depending on number format in Column1:

 

Whole Number:

Снимок.JPG

 

Currency:

Снимок1.JPG

 

and only with standard Decimal format it works as prescribed:

Снимок2.JPG

 

This measure: 

=CALCULATE(PRODUCT(Test[Column1]),ALL(Test))

and its PRODUCTX companion also return wrong results with whole or currency number formats:

 

Снимок3.JPG

Status: Accepted
Comments
v-haibl-msft
Employee

@hohlick

 

I can repro the same issue as you. I’ve reported it internally to Power BI Team: CRI 48944945
I’ll post here once I get any update about it.

 

Best Regards,
Herbert

Vicky_Song
Impactful Individual
Status changed to: Accepted
 
v-haibl-msft
Employee

@hohlick

 

I’ve got response from the Product Team.

 

It will likely be fixed in the upcoming December release of PBI Desktop.

As a workaround, you can use PRODUCTX(Table1, 0.0 + [Column1]) for now and that should work fine for any data-type of Column1.

 

Best Regards,
Herbert

hohlick
MVP

@v-haibl-msft, thank you very much for information and workaround! 

 

Maxim

hohlick
MVP

@v-haibl-msft please note that the same behavior is in GEOMEAN function too.