cancel
Showing results for 
Search instead for 
Did you mean: 
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
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors