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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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