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

Creating a Measured Filter

I am looking at subcriptions and I want to see how many active subscriptions we have.

 

In my column we have the following

DomWest_0-1619013562607.png

What I need to do is create a measure which deducts all of the display names except 'Active' from 'Active' what sort of formula could I use?

 

Thanks!

 

1 ACCEPTED SOLUTION
Ailsa-msft
Community Support
Community Support

Hi @DomWest ,

There are two ways to get the data you want. You can refer to either of the two .

(1)A simpler way is setting in Visual filter .You can select Active and the return value is what you want .

Ailsa-msft_0-1619158310427.png

Ailsa-msft_1-1619158310428.png

(2)Create a measure like:

active = CALCULATE(SELECTEDVALUE('Table'[Count of Subscription Status Active]),FILTER('Table','Table'[Subscription Status Display Name]="Active"))

 

And add a card to display the return value .

Ailsa-msft_2-1619158310429.png

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Ailsa-msft
Community Support
Community Support

Hi @DomWest ,

There are two ways to get the data you want. You can refer to either of the two .

(1)A simpler way is setting in Visual filter .You can select Active and the return value is what you want .

Ailsa-msft_0-1619158310427.png

Ailsa-msft_1-1619158310428.png

(2)Create a measure like:

active = CALCULATE(SELECTEDVALUE('Table'[Count of Subscription Status Active]),FILTER('Table','Table'[Subscription Status Display Name]="Active"))

 

And add a card to display the return value .

Ailsa-msft_2-1619158310429.png

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

sanalytics
Responsive Resident
Responsive Resident

@DomWest 

 

is your Subscription status display Name column or measure?

if it is a column then a simple filter will do your job

 

Calculate([ count of subscription status active],Subscription status display Name ="Active")

 

Regards

Sanalytics

It's a column! 🙂

 

With the calculate function how would I filter for one result and then deduct all the others?

 

e.g. 'Active' - (Archived + Cancelled + Out of stock + Payment Failed + Pending)?

othy_bi
Resolver III
Resolver III

Hi @DomWest 

Have you tried applying a filter on that visual from the filter tab?

 

Did it work ? Mark it as a solution to help spreading knowledge.

A kudos would be appreciated  

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors