Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jhd
Helper I
Helper I

Fiscal Year Total

Below is a "simple" version of my data table: 

 

DateMonthProductSales_ValueFinancial_YearFY_Sales_Value
01/02/2018FebA50020171100
02/02/2018FebA60020171100
01/03/2017MarA4002016400
01/02/2018FebB7002017700

 

I calculate the column FY_Sales_Value

sumx(

filter(table1, Table1[Product]=earlier(Table1[Product]) &&

Table1[Financial_Year]=earlier(Table1[Financial_Year])), 

 Table1[Sales_Value])

 

The problem comes when I put this data into PowerPivot because I'm generally not interested in specific dates, just Months. The FY_Sales_Value then gets multiplied by the number of lines in the table per month.

 

I am therefore thinking that it is better to work out the FY_Sales_Value as a PowerPivot Measure, but I can't figure out how to do this. Hopefully someone can point me in the right direction.

 

Thanks.

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @jhd,

 

In Power BI desktop, after adding calculated column [FY_Sales_Value] into a table visual, to avoid it to be multiplied by the number of lines in the table per month, you can select "Don't summarize".

1.PNG

 

However, if you have any concern about using PowerPivot, I would suggest you post question on a more related forum.

 

Best regards,

Yuliana Gu

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.