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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
DanSanBI
New Member

Count occurencies of value in multiple columns (With Lookup table)

Hello!

 

I nedd some help on a pivot table that counts (or sum) the total number of a customer name in 6 columns.

 

I´m using Power Query connected to a MySQL DataBase.

 

1 Lookup table with all customers without any duplicates

1 Fact table with up to 6 columns that could store the customer name from the column 1 to column 6

 

Should I create a relationship from the lookup table to every column in the fact table?

 

How could I count the total occurencies of the customer, displayed in a pivot table?

 

Thanks in advance!

1 REPLY 1
Anonymous
Not applicable

Hi Dan,

 

Could you please provide some sample data, doesn't have to be real data, just to get an idea what you need.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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