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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Terrimaru
Regular Visitor

Pareto graph related to dates

Hello,
I spent many hours with ChatGPT and unfortunately no results 😞
I have data:

 

Example

Date; Vendor Name; Value

Jan-2025; A; 50

Jan-2025; B; 40

Jan-2025; B; 80

Jan-2025; C; 30

Feb-2025; A; 30

Feb-2025; B; 50

Feb-2025; C; 80

Feb-2025; C; 30

etc.

 

I need pareto graphs, which will be related to chosen dates. For example, if I choose Jan-2025 it will shows: B = 120, A = 50, C = 30 (this step is easy, and this is done), and additional to it pareto line which will shows... pareto: B = 60% (120/200), A = 85% (170/200), C = 100% (200/200)

Once I change date to Feb-2025 it should calculate pareto based on new selected date.

I have tried with gemini and chatgpt, but gemini failed with error "Unexpected value for ORDER argument in ORDERBY function. Use 0/FALSE/DESC for descending order or 1/TRUE/ASC for ascending order." and nothing helped for it. And ChatGPT failed, as every solution it provides shows Vendor Name %, not cumulative value. It showed B = 60%, A = 25%, C = 15% instead of B = 60% (120/200), A = 85% (170/200), C = 100% (200/200)

Is anyone able to show me solution to this issue? 

7 REPLIES 7
Terrimaru
Regular Visitor

Helo @Irwan ,
Not really. It should looks like below. Pareto (graph) for choosen period (on the left).

Once I change period to next one (for example Feb-2025), Pareto graph should adapt as well to the new values

1.jpg

hello @Terrimaru 

 

i see, please check if this accomodate your need.

Irwan_0-1740698602265.png

Irwan_1-1740698618662.png

 

i think the easiest way is creating new SUMMARIZE table (maybe other experts have better idea).

 

For the detail, please have a look at attached pbix.

 

Hope this will help.

Thank you.

Hello,

Thank you for your support. I tried to adapt your solution to my report, but unfortunately there is an error (see attachment). I checked everything, and it seems my data are in the same format as yours. However still there is an error wchich do not allow me to make rank formula which seems essential here 😞

Screenshot 2025-03-03 163746.jpg

small update. I was able to make function "rank" run, by adding it as a new column of "Summarize" (see screen, rank is there).
However now "Total" doesn't work. I add it to line y-axis, I make it percentage, I added "Rank" to Tooltips, etc., but the line do not want to appear ;/1.jpg2.jpg

hello @Terrimaru 

 

please show how is your DAX for Total measure.

if you have a sample data from your original data, it would be helpful.

Thank you.

Hello,

Please see below.

Also please see part of my data in excel. I can't find option here to attach excel itself 😞

Date: in months

Vendor Name: vendors - multiple lines with the same vendor

YS €: Value
Flow: flow

 

As I showed in the PowerBI graph above. I have stacked columns graphs, which shows "Vendor Name" on X-axis with sum of its value "YS €" on Y-Axis. Sum of vendor is sum of its flow (that is why there is stacked column, and you can see two colors).
What I miss in this graph is pareto which will be visible on graph as well and will be reacting to the chosen date (exactly as you showed in your previous comment).DAX Total.jpg1.jpg

DateVendor NameYS €Flow
lut.25A45316factory warehouse
lut.25A6273Supplier warehouse
lut.25B6303factory warehouse
lut.25B8698factory warehouse
lut.25C184factory warehouse
lut.25C142Supplier warehouse
mar.25A47 188factory warehouse
mar.25A21Supplier warehouse
mar.25B5 893factory warehouse
Irwan
Super User
Super User

hello @Terrimaru 

 

please check if this accomodate your need.

Irwan_0-1740616094377.png

Hope this will help.

Thank you.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.