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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Create Table with Condition

Hello Guys, need your help.

Imagine I have the following table, giving Bugs by date and if they are still open (not fixed) or not.

 

Capture.JPGSo in this table I want to exclude Bugs that were never opened, but for the ones opened, I want to see the row appearing when they were closed. were never had a value of Open = 1.

Thanks!

 

 

 

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Anonymous

 

Hi, you can do this in Query Editor:

 

One Way is this:

 

Filtered Table.gif

 

Regards

 

Victor

Lima - Peru




Lima - Peru

View solution in original post

4 REPLIES 4
Vvelarde
Community Champion
Community Champion

@Anonymous

 

Hi, you can do this in Query Editor:

 

One Way is this:

 

Filtered Table.gif

 

Regards

 

Victor

Lima - Peru




Lima - Peru
vanessafvg
Super User
Super User

 

@Anonymous Table = CALCULATETABLE('Table', IsOpen = 1 )

 

unless i am missing something all you need to do is filter on isopen = 1





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Ups, I think I forgot to mention that I do not wish to lose the rows were they were closed.
That way those rows will be filtered out no ?

I want a table that will show me all rows for Bugs that were once open, but I want the row showing when they were closed.
So in this table I want to exclude Bugs that were never opened, but for the ones opened, I want to see the row appearing when they were closed. 

Made a big fuss


@Anonymous

 

create a calculated column on the table

 

indicator= calculate(values[bug], open = 1)

 

then 

newtable = CALCULATETABLE('Table', filter(table, indictator <> blank())

 

 haven't tested it





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.