Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I have the following matrix visual:
Both the column and row headers are determined by field parameters ('View by - A' & 'View by - B'), in this case, Career Band by Region.
The measure 'Hotspot Identified' returns text indicating a hotspot based on a 2 level Z-test (this bit is irrelevant but good for context).
What I would like to show in a card visual is the count of occurrences of the result 'Hotspot' within the matrix table, for the example above, this should be '2'.
I'm not sure if my thinking the following exists:
calculate ( count if ( 'Hotspot Identified' = "Hotspot"), for each intersection of 'View by - A' & 'View by - B')
I have added an idea Here and would appreciate a vote if you feel this would assist you in resolving a similar issue.
@Greg_Deckler Thanks for your assistance, though I can't get this to work to the needs.
There is no common table where (in the example [Career Band] and [Location]) exist to run the summarize on.
I attempted to crossjoin the 'View by - A' & 'View by - B' tables generated as part of them being field parameters, however this returns the list of fields rather than the items within those fields.
To illustrate with tocsv:
Additional:
I think my primary issue is not being able to use a variable as a table expression.
In the below:
The field parameter associated value for 'View By - A Fields' returns 'Dim_GCRFData'[CareerBand]
The field parameter associated value for 'View By - B Fields' returns 'Dim_LocationData'[Region]
TBLREF_A & TBLREF_B format the strings to be exactly as I would type in an expression for a table reference i.e. Dim_GCRFData & Dim_LocationData respectively.
I think I'd need to smash the crossjion within the summarize in order to reach the result.
@GaryWalton Try:
Measure =
VAR __Table =
ADDCOLUMNS(
SUMMARIZE( 'Table', [Career Band], [Location]),
"__Value", [Hotspot Identified]
)
VAR __Result = COUNTROWS(FILTER(__Table, [__Value] = "Hotspot"))
RETURN
__Result
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |