Forum Discussion

bombom's avatar
bombom
Helper I
3 years ago
Solved

Power BI count null rows

Hi!   I have two columns. Both have a general key INT value called TicketId, but one table has less TicketIds than another table. Each table has different amount of columns.   For example, the cu...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi bombom ,

    You can create a measure as below to get it:

    Tabcross =
    VAR _tab =
        EXCEPT ( VALUES ( Tab1[TicketId] ), VALUES ( Tab2[TicketId] ) )
    RETURN
        COUNTROWS ( _tab )

    If the above one can't help you get the desired result, please provide some sample data in your table 'Tab1' and 'Tab2' (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community

    Best Regards