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.

Reply
Anonymous
Not applicable

Average weekly revenue total in percentage is not correct in DAX

Dear Power BI users,

 

I have a problem where i cannot get my weekly average machine linerevenue in %. My totals are incorrects and my average in my KPI card is somehow also incorrect. Does somebody what measure to use to make this correct for my matrix table as well as for my KPI card?


Attachment of my power bi file: https://1drv.ms/u/s!ApqsJAYwwCdX1j1K4LkGn5mS3qn-?e=PoWGaS

 

Yours sincerely,

Baris

1 REPLY 1
v-xiaoyan-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a measure like this to meet your needs:

Measure = 
SUMX (
    VALUES ( 'DimPlowing'[description] ),
    SUMX (
        VALUES ( 'DimDate'[ISODag] ),
        SUMX ( VALUES ( 'DimMachine'[Description] ), [Line revenue machine] )
    )
)

 

then you can get a result like this:

vcaitlynmstf_0-1646300239807.png

 

In addition, you can refer the method in the following links to resolve it.

Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

Dax for Power BI: Fixing Incorrect Measure Totals

 

 

 

Hope it helps,


Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.