cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DeepDive Helper III
Helper III

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

Highlighted
DeepDive Helper III
Helper III

Re: Unable to Count of calculation made using measure ?

@jdbuchanan71 Thank you.. Working fine

 

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors