Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
rjsidek
Helper II
Helper II

Asking Power BI to display only 1 status

Hi everyone, 
So I have a dataset that looks like this currently. 

Page 1.png

 

 

 

 

 

 

 

 

 

 

 

Note that for companies Tam Tam and Super Ring, their status in the past was active and then they became inactive. 

I want to create a measure that basically states that, if at any point in time, a company's status has been inactive, display it's status as inactive.

Currently, when filtering by Status, when I choose "Active", it picks up the companies that are inactive because the dataset records them as active at one point in time. I want a measure that would display something like this

Company             Status
Popo                    Active

Super Ring           Inactive

Tam Tam              Inactive

Basically, it recognizes that some companies has been inactive and display them as such. The end goal is to be able to filter a page based on whether a company's status is classified as Active or Inactive. 

Any help is greatly appreciated!

 

 

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @rjsidek ,

 

I am not particularly clear about your needs, is this what you want

f1.PNGf2.PNG

If yes, please refer to this .pbix file:

P2 
If here's not your answer, please describe your requirements in detail, it's better to give me the final rendering.

Best regards,
Lionel Chen

 

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

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @rjsidek ,

 

I am not particularly clear about your needs, is this what you want

f1.PNGf2.PNG

If yes, please refer to this .pbix file:

P2 
If here's not your answer, please describe your requirements in detail, it's better to give me the final rendering.

Best regards,
Lionel Chen

 

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

hi @v-lionel-msft , thank you! it worked!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.