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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kimchour
Regular Visitor

How to count user with REPORT transaction type only?

Dear all,

I would like to have a card counting how many user with REPORT transaction type only. I have screenshot to explain the scenarios. I would really appreciate for u taking your time to help me. Thank you in advance. 🙏

this user use 1 Transaction with REPORT transaction Type. I would like to include this user in the count.this user use 1 Transaction with REPORT transaction Type. I would like to include this user in the count.this user use different Transaction with REPORT transaction Type. I also would like to include this user in the count.this user use different Transaction with REPORT transaction Type. I also would like to include this user in the count.this user use different Transaction but with different transaction Type. I do not want to include this user in the count.this user use different Transaction but with different transaction Type. I do not want to include this user in the count.Table StructureTable StructureRelationshipRelationship


1 ACCEPTED SOLUTION

Hi,

Please try something like below whether it suits your requirement.

 

users count expected result =
COUNTROWS (
    FILTER (
        SUMMARIZE (
            'User with daily transaction',
            User[Personnel Number],
            'Transaction'[Transaction Type]
        ),
        CALCULATE (
            COUNTROWS (
                CALCULATETABLE (
                    SUMMARIZE ( 'User with daily transaction', 'Transaction'[Transaction Type] ),
                    ALL ( 'Transaction'[Transaction Type] )
                )
            )
        ) = 1
            && 'Transaction'[Transaction Type] = "Report"
    )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

6 REPLIES 6
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below whether it suits your requirement.

 

users count expected result: =
COUNTROWS (
    FILTER (
        SUMMARIZE (
            'User with daily transaction',
            'User'[Personnel Number],
            'Transaction'[Transaction Type]
        ),
        'Transaction'[Transaction Type] = "Report"
    )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Dear Jihwan,

Thank you for your help. However, it is not really what i want because it include the user that have both REPORT and TRANSACTIONAL transaction type. and I want to count the user that have only REPORT type. 

i do not want to include this type of user in the count because they have both transaction type. I want to count only the user that have only REPORT type.i do not want to include this type of user in the count because they have both transaction type. I want to count only the user that have only REPORT type.


Hi,

thank you for your message, and please try something like below, or, please share your sample pbix file and then I can try to look into it. thank you.

 

users count expected result: =
COUNTROWS (
    FILTER (
        SUMMARIZE (
            'User with daily transaction',
            'User'[Personnel Number],
            'Transaction'[Transaction Type]
        ),
        CALCULATE ( COUNTROWS ( VALUES ( ['Transaction'[Transaction Type] ) ) ) = 1
            && 'Transaction'[Transaction Type] = "Report"
    )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

hello @Jihwan_Kim please help me. 🙏

Hi,

Please try something like below whether it suits your requirement.

 

users count expected result =
COUNTROWS (
    FILTER (
        SUMMARIZE (
            'User with daily transaction',
            User[Personnel Number],
            'Transaction'[Transaction Type]
        ),
        CALCULATE (
            COUNTROWS (
                CALCULATETABLE (
                    SUMMARIZE ( 'User with daily transaction', 'Transaction'[Transaction Type] ),
                    ALL ( 'Transaction'[Transaction Type] )
                )
            )
        ) = 1
            && 'Transaction'[Transaction Type] = "Report"
    )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

@Jihwan_Kim IT WORKS. Thank you so much. 😍🙏🙏

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.