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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jackypatel
Helper I
Helper I

Unique date wise unique Product Count

Hi...... My Database name is "PDI DATA"&  i required Unique date wise unique names count. E.g. 27-03-2021 has "HM-12.5A-LM-ACC-NS" count is 1 & 27-03-2021 has "12.5C-FDB-ACC" also count is 1. And at the end i need Grand total of counts

 

Refer below table for data

Inspection DateProduct
27-03-2021HM-12.5A-LM-ACC-NS
27-03-2021HM-12.5B-LM-ACC-NS
27-03-202112.5C-FDB-ACC
27-03-2021LTT8-20
25-03-2021CLR400000-A2
26-03-2021LD200686-E2
26-03-2021LD200686-E2
26-03-2021LD200686-E2
26-03-2021LD200686-E2
25-03-2021LDRR24-CDL
25-03-2021LDRR24-CDL
25-03-2021LL725003-D1
25-03-2021LL725003-D1
25-03-2021LL725003-D1
25-03-2021LL725003-D1
25-03-2021LL725003-D1
25-03-2021LL725003-D1
25-03-2021LL725003-D1
25-03-2021LDLRC-20PRO-CDL
25-03-2021LT8-20-865-2
25-03-2021LT8-20-865-2
25-03-2021LT8-20-865-2
25-03-2021LT8-20-865-2
25-03-2021LT8-20-865-2
25-03-2021LT8-20-865-2
25-03-2021LT8-20-865-2
1 ACCEPTED SOLUTION

PowerPivot is crashing on my system so i cannot frame this solution in MS Excel.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

10 REPLIES 10
jackypatel
Helper I
Helper I

Sir, Thanx for the Help. In addition to that need counting of accepted Lot.

Example-

My Database name is "PDI DATA"&  i required Unique date wise unique names count & Accepted, rejected Count too. E.g. 27-03-2021 has "HM-12.5A-LM-ACC-NS" count is 1 and Accepted Count 1 & 27-03-2021 has "12.5C-FDB-ACC" also count is 1and Accepted Count 1. And at the end i need Grand total of counts

 

Inspection DateProductResult
27-03-2021HM-12.5A-LM-ACC-NSAccepted
27-03-2021HM-12.5B-LM-ACC-NSAccepted
27-03-202112.5C-FDB-ACCAccepted
27-03-2021LTT8-20Accepted
25-03-2021CLR400000-A2Rejected
26-03-2021LD200686-E2Accepted
26-03-2021LD200686-E2Accepted
26-03-2021LD200686-E2Accepted
26-03-2021LD200686-E2Accepted
25-03-2021LDRR24-CDLRejected
25-03-2021LDRR24-CDLRejected
25-03-2021LL725003-D1Accepted
25-03-2021LL725003-D1Accepted
25-03-2021LL725003-D1Accepted
25-03-2021LL725003-D1Accepted
25-03-2021LL725003-D1Accepted
25-03-2021LL725003-D1Accepted
25-03-2021LL725003-D1Accepted
25-03-2021LDLRC-20PRO-CDLAccepted
25-03-2021LT8-20-865-2Accepted
25-03-2021LT8-20-865-2Accepted
25-03-2021LT8-20-865-2Accepted
25-03-2021LT8-20-865-2Accepted
25-03-2021LT8-20-865-2Accepted
25-03-2021LT8-20-865-2Accepted
25-03-2021LT8-20-865-2Accepted

 

Ashish_Mathur
Super User
Super User

Hi,

Drag Inspection date to the visual and write this measure

Measure = distinctcount('PDA Data'[Product])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

No its not working... It is count the Unique PDI Data [Product]... i need Unique Date Wise, unique Product Count...

Based on the data that you have shared, show the expected result clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

if calculate with Date than out put is OK, But when convert into this goes wrong.

 

I need output as per below

MonthProductCount
March-23HM-12.5A-LM-ACC-NS1
 12.5C-FDB-ACC1
 LTT8-201
 CLR400000-A21
 LD200686-E21
 LDRR24-CDL1
 LL725003-D11
 LDLRC-20PRO-CDL1
 LT8-20-865-21
 Total Count9

 

Hi,

PBI file attached.

Ashish_Mathur_0-1697945495552.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanx for the file... but i am not using Power BI. so i cant open it. Plz send me .xlsx format file or .pdf format file.

 

Plz

This is a PBI forum.  Before you post your question, shouldn't you ensure that you already have the software?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Sir,

 

I am using Power Pivot in Excel. Power BI Software is not available.

 

Kindly plz share the .xlsx file

PowerPivot is crashing on my system so i cannot frame this solution in MS Excel.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.