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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.