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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
smmoore34
Helper II
Helper II

Create a filter that only shows distinct customers that have 2 or more transactions

I have the following table example:

Customer IDTransactionIDAge
110142
210229
210329
210429
310563
310663
410745
510833
510933

 

I want to be able to filter only on those customers that have 2 or more transactions so that I can produce a report on the demographics of customers making frequent purhcases.

1 ACCEPTED SOLUTION
DataNinja777
Super User
Super User

Hi @smmoore34 ,

 

You can achive your required output in many different ways and one of them is to create a separate dimension table for customers and create a calculated column indicating which customers purchased multiple times and use in the slicer to filter.  

DataNinja777_0-1716472232742.png

I attach an example pbix file.  

View solution in original post

3 REPLIES 3
DataNinja777
Super User
Super User

Hi @smmoore34 ,

 

You can achive your required output in many different ways and one of them is to create a separate dimension table for customers and create a calculated column indicating which customers purchased multiple times and use in the slicer to filter.  

DataNinja777_0-1716472232742.png

I attach an example pbix file.  

Worked perfectly!  The example pbix file made it easy for me.

Thanks!!!

Anonymous
Not applicable

In filter plane add a filter using Transaction ID > 1.

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.