cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Measure value filter by using parameter selection

hi all,

i want to filter measure value by using parameter selection

 

i'm using following measure value. its working fine in table. but it's not shown total value in KPI card.

 

how can i show total vale in KPI Card?

 

i have attached Test file Pbix File 

 

Sales by filter = 
VAR m = max('Table (2)'[Sales Bucket Value])
RETURN
CALCULATE ( SUM ( 'Table'[sales] ), FILTER ( 'Table', sum('Table'[sales]) <= m ) )

 

Screenshot_5.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Measure value filter by using parameter selection

Hi @vengadeshpalani 

 

try this.

 

Sales by filter = 
VAR m = max('Table (2)'[Sales Bucket Value])
RETURN
SUMX(FILTER(SUMMARIZE('Table','Table'[Customer],"Sum Sales",SUM('Table'[sales])),[Sum Sales] <= m), [Sum Sales])

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

I work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #BetterTogether

View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

Re: Measure value filter by using parameter selection

Hi @vengadeshpalani 

 

try this.

 

Sales by filter = 
VAR m = max('Table (2)'[Sales Bucket Value])
RETURN
SUMX(FILTER(SUMMARIZE('Table','Table'[Customer],"Sum Sales",SUM('Table'[sales])),[Sum Sales] <= m), [Sum Sales])

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

I work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #BetterTogether

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

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

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors