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
AppleUSN
Frequent Visitor

Trying to create a pareto chart that will sort the earliest date when comparing two Months

 I have 3 columns [YYYYMO], [RCC], [Value]

 

I want to be able to compare the value of the RCC from each Month which is in YYYYMO (code for Year and Month).  I was able to do this in a chart with a slicer to show Month A vs Month B but I would like to sort the RCC category from highest to lowest value of the lower Month that is selected in the slicer and also have the other month RCC sorted with it.  In my screenshot below you can see that the pareto works but it is sorted strictly by the total sum of RCC overall and not by the highest RCC of the older month that I selected.  The 2021 OCT 1008 qty should be the highest and both months sorted by 2021 OCT top 10 values.

 

YYYYMORCCValue
202001C-CAP-Capacity/manpower211
202001C-CSI-Customer Source Inspection1
202001C-DTL-Detail shortage5
202001C-ENG-Engineering266
202001C-FAI-FAI/FAIR21
202001C-GSI-GSI0
202001C-INV-Inventory shortage/lost/damaged2
202001C-L/T-Pull-in/Expedite/PO less than L/T1849
202001C-MAT- Customer Supplied Material shortage0
202001C-MAT-Material shortage18
202001C-MFG-Manufacturing design/manufacturability41
202001C-PNC- Rev Change/obsolescence0
202001C-PNC-Part revision/superseded/obsolescence21
202001C-PO CONFIRMATION0
202001C-POM-PO Maintenance/edits187
202001C-PRO-Process approval/FPA/process inadequacy33
202001C-QMS-Quality/Quality Assurance20
202001C-REC-Receiving dock issue9
202001C-RWK-Rework/repair/scrap41
202001C-SUB-Sub-tier/OP delay3
202001C-UNCONFIRMED PO0
202001C-UNK-Unknown5
202001S-CAP-Capacity/Machinery-Manufacturing0
202001S-CAP-Capacity/manpower917
202001S-CSI-Customer Source Inspection15
202001S-DTL-Detail shortage13
202001S-ENG-Engineering24
202001S-FAI-FAI/FAIR4
202001S-INV-Inventory shortage/lost/damaged19
202001S-L/T-Pull-in/Expedite/PO less than L/T57
202001S-MAT-Material shortage90
202001S-MCH-Machine downtime/maintenance4
202001S-MFG-Manufacturing design/manufacturability7
202001S-PNC-Part revision/superseded/obsolescence9
202001S-PRO-Process approval/FPA/process inadequacy7
202001S-QMS-Quality/Quality Assurance89
202001S-RWK-Rework/repair/scrap84
202001S-SUB-Sub-tier/OP delay90
202001S-TLG-Tooling shortage/repair/maintenance0
202001S-UNK-Unknown211
202002C-CAP-Capacity/manpower45
202002C-CSI-Customer Source Inspection2
202002C-DTL-Detail shortage22
202002C-ENG-Engineering138
202002C-FAI-FAI/FAIR11
202002C-GSI-GSI0
202002C-INV-Inventory shortage/lost/damaged1
202002C-L/T-Pull-in/Expedite/PO less than L/T847
202002C-MAT- Customer Supplied Material shortage0
202002C-MAT-Material shortage13
202002C-MFG-Manufacturing design/manufacturability37
202002C-PNC- Rev Change/obsolescence0
202002C-PNC-Part revision/superseded/obsolescence15
202002C-PO CONFIRMATION0
202002C-POM-PO Maintenance/edits184
202002C-PRO-Process approval/FPA/process inadequacy11
202002C-QMS-Quality/Quality Assurance1
202002C-REC-Receiving dock issue3
202002C-RWK-Rework/repair/scrap20
202002C-SUB-Sub-tier/OP delay0
202002C-UNCONFIRMED PO0
202002C-UNK-Unknown7
202002S-CAP-Capacity/Machinery-Manufacturing0
202002S-CAP-Capacity/manpower461
202002S-CSI-Customer Source Inspection1
202002S-DTL-Detail shortage2
202002S-ENG-Engineering14
202002S-FAI-FAI/FAIR18
202002S-INV-Inventory shortage/lost/damaged4
202002S-L/T-Pull-in/Expedite/PO less than L/T25
202002S-MAT-Material shortage67
202002S-MCH-Machine downtime/maintenance10
202002S-MFG-Manufacturing design/manufacturability10
202002S-PNC-Part revision/superseded/obsolescence0
202002S-PRO-Process approval/FPA/process inadequacy2
202002S-QMS-Quality/Quality Assurance31
202002S-RWK-Rework/repair/scrap45
202002S-SUB-Sub-tier/OP delay44
202002S-TLG-Tooling shortage/repair/maintenance5
202002S-UNK-Unknown67

 

AppleUSN_0-1647630722832.png

 

1 ACCEPTED SOLUTION

I actually figured out the issue from another source.  It was easier than I expected.  I created this measure

 

first selected month RCC with time intelligence = CALCULATE(SUM('RCC History'[Value]), FIRSTDATE('Date'[Date]))
 
This allowed the first date I select on the slicer to be the driver for the sort order.  So, highest value for the First Date will be the order that all other dates selected will be ordered in.
 

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @AppleUSN ,

 

Try to sort axis by the value:

Vlianlmsft_0-1647918089844.png


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

I actually figured out the issue from another source.  It was easier than I expected.  I created this measure

 

first selected month RCC with time intelligence = CALCULATE(SUM('RCC History'[Value]), FIRSTDATE('Date'[Date]))
 
This allowed the first date I select on the slicer to be the driver for the sort order.  So, highest value for the First Date will be the order that all other dates selected will be ordered in.
 

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.