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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Raf_Joker
New Member

Need Help creating yes no fields

Hi Guys,

I have some data from Jira and I am trying to group some labels and show it against the issues table with a yes no column, however its producing yes and no results, meaning I have 2 rows per issues on each group I made.

 

I need it to be only 1 row in which if it contains that label I want it to say yes and if doesn't I want it to say no on 1 row as shown on my ideal screenshot.

 

How can I accomplish this?my attemptmy attemptideal outcomeideal outcomerelationship between tablesrelationship between tables

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @Raf_Joker ,

 

I am confused. What is exactly is your ideal outcome? The relationship view doesn't show how you want the data to be shown in  a visual.  If you want it to just show Yes per unique ISSUE_KEY, you can create a calculated column that counts the number of yes per ISSUE_KEY  and if that yes is more than 0 then return Yes for all the rows of that ISSUE_KEY. Sample formula

yes/no =
VAR YesCount =
    CALCULATE (
        COUNTROWS ( Labels ),
        Labels[Yes/No Column] = "Yes",
        ALLEXCEPT ( Labels, Labels[ISSUE_KEY] )
    )
RETURN
    IF ( _YesCount > 0 || _YesCount <> BLANK (), "Yes", "No" )




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

Hi @Raf_Joker ,

 

I am confused. What is exactly is your ideal outcome? The relationship view doesn't show how you want the data to be shown in  a visual.  If you want it to just show Yes per unique ISSUE_KEY, you can create a calculated column that counts the number of yes per ISSUE_KEY  and if that yes is more than 0 then return Yes for all the rows of that ISSUE_KEY. Sample formula

yes/no =
VAR YesCount =
    CALCULATE (
        COUNTROWS ( Labels ),
        Labels[Yes/No Column] = "Yes",
        ALLEXCEPT ( Labels, Labels[ISSUE_KEY] )
    )
RETURN
    IF ( _YesCount > 0 || _YesCount <> BLANK (), "Yes", "No" )




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thank you, yes that has helped and will give me my desired outcome. 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.