cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DeepDive Member
Member

Unable to Count of calculation made using measure ?

Hi Experts,

I have two columns available with me i.e. Name and Sales. Now I have calculated Rank_sales and Rank_bucket using Measures.
Now my requirement how to calculated count of Rank_Buckets against respective buckets (using measure only)

PS:
Rank_Sales = Rank of Sales
Rank_Bucket = put ranks in bucket as per requirement


Pls also help with any blog or tutorial on how we can use measures further in other calculations

 

NameSalesRank_SalesRank_BucketCount o fRank_Bucket - Respective To Bucket
X324114
Z200214
Y123314
W100414
V90526
J63626
I62726
L56826
R56826
G551026
S4511310
U4212310
D3413310
K3413310
Q3413310
E3316310
H3316310
F2318310
O2318310
T2318310
N122146
P122146
M92346
C62446
A52546
B32646
1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

Re: Unable to Count of calculation made using measure ?

Hello @DeepDive 

Give this a try.

Count of Rank Bucket = 
VAR _bucket = [Rank_Bucket]
RETURN
COUNTROWS (
    FILTER ( ALL( YourTable[Name] ) , [Rank_Bucket] = _bucket ) )

RankBucket.jpg

View solution in original post

2 REPLIES 2
Super User IV
Super User IV

Re: Unable to Count of calculation made using measure ?

Hello @DeepDive 

Give this a try.

Count of Rank Bucket = 
VAR _bucket = [Rank_Bucket]
RETURN
COUNTROWS (
    FILTER ( ALL( YourTable[Name] ) , [Rank_Bucket] = _bucket ) )

RankBucket.jpg

View solution in original post

DeepDive Member
Member

Re: Unable to Count of calculation made using measure ?

@jdbuchanan71 Thank you.. Working fine

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors