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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Pa1Kumar
Frequent Visitor

Dynamic selection of Common records between multiple tables

Hello Every one...

I am new to PowerBI and Happy to be part of Power BI Community Family...

I need to Count the Common Records Between the Selected Months and Display them in Visualizations like Barchart...

Pa1Kumar_0-1670592662322.png

 

here are some points as per reqirement:

1.the chart should show the common no'of DC_MATERIAL_NAME count between Seleted months from the filter

2.the month filter should allow only 2 selections at a time.

3.in the above graph the maxmonth refer the maximum month selected from the filter and maxmonth-1 refer the other month selected

4.as and when the bar is clicked it should show the correspondind data records from the table also

5.We need to Pick the latest Status of record when ever it repeates in the month (We can assign the index for each month and can conside the max index)

 

I have Month Wise latest 4 months data set as below..

Ex :August_2022  to Nov_2022 here is the sampl table 

MARKETMATERIAL_NAMEPROCESSING_STATUS
MMEE-DEG-71E2FAILURE
MNAOE-WZG-72A2_XMLSUCCESS
MCE-DEG-72A2FAILURE
MMEE-WWG-20E1EV_PDFSUCCESS
MMEE-WWG-20E1EV_XMLSUCCESS
MNAO1A87-1U-17F_MY2016_2018_XMLSUCCESS
MMEE-WES-03A1_XMLSUCCESS
MCE-DES-36A1FAILURE
MMEE-WES-36A2_XMLSUCCESS
MNAOE-WES-74G1_XMLSUCCESS
MMEE-WZS-12A2_XMLFAILURE
MNAOE-WEF-72A1_XMLSUCCESS
MMEE-WWF-59C1_PDFSUCCESS

 

@PaulDBrown @amitchandak  @Fowmy  @Eyelyn9  @RicoZhou  @Vera_33  @Jihwan_Kim  @mahoneypat  @ImkeF  @DenisSlav   : Could any of you please help

1 ACCEPTED SOLUTION

See attached for a proposal to show bars 1 to 4.  I don't understand the logic for bars 5 and 6.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

You have not provided sufficient sample data. Please provide sample data that covers your issue or question completely.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Thank you for you response and Help.Please find the below drive link for the excel files.

 

usp=sharinghttps://drive.google.com/drive/folders/1ZxxDJa8ExfB1yqjSZv-3dZnLgkupwCCN?usp=sharing 

 

My Expected out come is as below:

Pa1Kumar_0-1670769557044.png

 

 

 

 

 

 

 

with a filter like latest 4 months

Pa1Kumar_1-1670769795393.png

Those 6 bars shoud show:

Bar1 : Count of total material

Bar2 :Common material folder count between selected 2 months(by default 4months Common material folder count )

Bar3 :Common Success material folder count between selected 2 months(by default 4months Common success material folder count )

Bar4 :Common Failed material folder count between selected 2 months(by default 4months Common failed material folder count )

Bar5:Common material Folder Count Succeeded in Max-1 month( in this case Sep) and Failed in Max month (in this case Oct)(We have data from  July to Oct)

Bar6:Common material Folder Count Failed in Max-1 month( in this case Sep) and Success in Max month (in this case Oct)(We have data from  July to Oct).

your help would be greatly appreciated thank you in advance.

See attached for a proposal to show bars 1 to 4.  I don't understand the logic for bars 5 and 6.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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