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
Badriah1
New Member

new column - Return extra one value

TicketsID= IF(Tickets[Year] in {2022,2023},Tickets[ID],0)
 
Here I want to get all tickets that added in 2022 and 2023, but it return extra one value for each status.
have any other solution?
 
1 REPLY 1
hnguy71
Super User
Super User

Hi @Badriah1 

 

To assist better, would you mind sharing some sample input data and expected output?



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.