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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Varshi288
Resolver I
Resolver I

Count of customer filtered by non related table.

Hi  I have  a list of customers grouped by a measure Sales Price(SP) like below table. I need to find the count of customers with the 

Range Slicer.Tthere is no relation between two tables  hence it is difficult to find the count. Any tip? Thanks in advance.

 

Min SP  Max Sp  SP Range

050000-5k$
5001100005-10k$
100011500010-15k$

Varshi288_0-1621233307213.png

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi, @Varshi288 

I tried to create a simple version of your sample.

Please check the below picture and the sample pbix file's link down below.

All measures are in the sample pbix file, and all steps are numbered in front of each measure.

 

Picture7.png

 

https://www.dropbox.com/s/d61t5fua2emuf5t/varshi.pbix?dl=0 

 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

5 REPLIES 5
Jihwan_Kim
Super User
Super User

Hi, @Varshi288 

I tried to create a simple version of your sample.

Please check the below picture and the sample pbix file's link down below.

All measures are in the sample pbix file, and all steps are numbered in front of each measure.

 

Picture7.png

 

https://www.dropbox.com/s/d61t5fua2emuf5t/varshi.pbix?dl=0 

 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Thank you @Jihwan_Kim  this solved my issue.

SushainKoul
Helper III
Helper III

Hi @Varshi288 

Can u once again explain it in a detail as I am not able to get it?

Hi  @SushainKoul  by default total count of customers are 139. When I select 10k-15k in slicer the count of customers should be 21. Note There is no relation between two table.

 

Varshi288_0-1621234817031.png

 

Anonymous
Not applicable

hello .. you can use TREATAS  DAX function  in your measure.

https://docs.microsoft.com/en-us/dax/treatas-function 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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