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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Zaky
Helper IV
Helper IV

Count of category

Hi,

 

I have created table to count WO Assignee Group ticket. The data was taken from different tab sheet in excel.

I managed to count total ticket for "Previous Ticket" table using the following measure:

Previous Ticket = COUNT('Previous WO Raw Data for Ageing'[WO Assignee Group])

 

but not success for Latest Ticket table using the following measure:

Latest Ticket= COUNT('Latest WO Raw Data for Ageing'[WO Assignee Group])

 

it looks like the number of tickets count for each group is the same

Anyone can help me what is wrong?

 

 

issue3.PNG

 

 

 

Thanks

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Zaky 

As tested, if "Previous WO Raw Data for Ageing" table and "Latest WO Raw Data for Ageing" table have no relationship, it shows all the same value for "Latest Ticket" measure, 

To solve this, i create relationship between two tables with "many" to "many" relationships.

    (as there are duplicates in 'Previous WO Raw Data for Ageing'[WO Assignee Group] and 'Latest WO Raw Data for Ageing'[WO Assignee Group] )

 

2.png

3.png

 

If you have any problem, please let me know.

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Zaky 

As tested, if "Previous WO Raw Data for Ageing" table and "Latest WO Raw Data for Ageing" table have no relationship, it shows all the same value for "Latest Ticket" measure, 

To solve this, i create relationship between two tables with "many" to "many" relationships.

    (as there are duplicates in 'Previous WO Raw Data for Ageing'[WO Assignee Group] and 'Latest WO Raw Data for Ageing'[WO Assignee Group] )

 

2.png

3.png

 

If you have any problem, please let me know.

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Maggie,

 

Amazing! I managed to applied accordingly.

Thanks for your help Smiley Happy

 

 

Regards,

Zaky

Hi,

 

I noticed that there is no many to many option. How can i add one?

 

many.png

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors