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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Lobo1908
Helper I
Helper I

Pareto chart in power BI not adding identical values

I've got an issue with my Pareto chart. It is basically not adding identical values on top of each other when it comes to the line values. As seen in the picture below codes CHP01, DAM02 and PNT08 have the same value of 3. The line chart shows them all at level 83.3% which should be the level of the last of this value.

 

Lobo1908_2-1646405126003.png

 

When all values are different the line looks fine, please see an example

 

 

Lobo1908_3-1646405222614.png

 

I'm using the following measure to count the number of values in a string and in Column values in my visual

VAR __SearchTerms =
    ADDCOLUMNS (
       'C_Codes_lookup2',
        "Count",
            COUNTROWS (
                FILTER (
                    'C_Report',
                    FIND ( [Code], 'C_Report'[reportedfault],, 0 ) > 0
                )
            )
    )
RETURN
    SUMX ( __SearchTerms, [Count] )

And the following measure to establish the Pareto chart and as line value in my visual

VAR StateRev = [1.1 C Codes Count]
VAR ALLCodes = CALCULATE([1.1 C Codes Count], ALLSELECTED(C_Codes_lookup2[Code]))
RETURN
DIVIDE(
SUMX(
    FILTER(
        SUMMARIZE(ALLSELECTED(C_Codes_lookup2[Code]), C_Codes_lookup2[Code],
            "Cumulative", [1.1 C Codes Count]),
                [Cumulative] >= StateRev ),
                    [Cumulative]),
    ALLCodes, 0) 

Could someone be so kind and help me solve this issue.

1 ACCEPTED SOLUTION

@littlemojopuppy

PREVIEW
 
Just downloaded the sample to double-check it there and there are 2 Pareto charts in it. 

 
 Lobo1908_0-1646671247505.png

The measures for them are in C_report and DI_report 

View solution in original post

4 REPLIES 4
Lobo1908
Helper I
Helper I

@Lobo1908 not seeing a Pareto chart in here...

@littlemojopuppy

PREVIEW
 
Just downloaded the sample to double-check it there and there are 2 Pareto charts in it. 

 
 Lobo1908_0-1646671247505.png

The measures for them are in C_report and DI_report 

littlemojopuppy
Community Champion
Community Champion

Hi @Lobo1908 can you provide some sample data to work with?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.