Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have raw data as below:
- table 1:
whereas, within this table each user ID might be repeated within the same month based on the stream code he used during the month.
- table 2:
I'm trying to use a matrix visual with Stream name in the rows and stream name1 in the columns and the value should be distinct count of users who use every two streams.
can you please help with the measure?
thank you
Hi @TamerOmki ,
Could you please provide sample data and expected output? That will help us provide you with the right solution.
Best regards,
Mengmeng Li
Hi @TamerOmki ,
You want to count distinct users who used each pair of stream names, using Stream Name (rows) and Stream Name1 (columns).
UserCount =
CALCULATE(
DISTINCTCOUNT('Table1'[User ID]),
CROSSFILTER('Table1'[Stream Code], 'Table2'[Stream Code], BOTH)
)
Ensure relationships: Table1[Stream Code] → Table2[Stream Code] (Many-to-One).
Create Matrix Visual:
"The goal is to turn data into information, and information into insight." – Carly Fiorina
Need Power BI help? Connect on LinkedIn.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Thank you
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |