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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Community Champion
Community Champion

 

@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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.