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.
I want to get the common outputs from Canada and France containing both
Eg. the First row should be - Bordeaux-style Red Blend | Black Hills | A. de Luze et Fils
Pls Refer To attached image
Solved! Go to Solution.
Hi @Anonymous
You can just create a filter on the visual to get the common outputs.
Try to apply the filter with Canada and France by show items when value is not empty
Sample data:
Create a filter on the visual:
Result:
Is this the result you want? Hope this is useful to you
Please feel free to let me know if I misunderstand your question
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
You can just create a filter on the visual to get the common outputs.
Try to apply the filter with Canada and France by show items when value is not empty
Sample data:
Create a filter on the visual:
Result:
Is this the result you want? Hope this is useful to you
Please feel free to let me know if I misunderstand your question
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous,
Try this measure:
Common Output =
VAR vVariety =
MAX ( 'winemag-data-1'[variety] )
VAR vResult =
CALCULATE (
DISTINCTCOUNT ( 'winemag-data-1'[country] ),
'winemag-data-1'[variety] = vVariety
)
RETURN
vResult
Create a filter on the visual:
Sample data:
Result:
Proud to be a Super User!
I believe this simpler version works too:
Common Output = CALCULATE ( DISTINCTCOUNT ( 'winemag-data-1'[country] ), ALL ( 'winemag-data-1'[country] ) )
For each variety (matrix row), clear the country filter context (matrix column), and calculate the number of distinct countries for the current variety.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
76 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |