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

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

Reply
Anonymous
Not applicable

measure not showing count

Hi,
A question regarding my measure please.
I have impoted several tables
vw_Performance
pKey BandID Performance
fds 2 23%
gre 3 28%
ytr 14 56.9%
...

tblBand
BandID Low High
1 0 0.1
2 0.1 0.2
3 0.3 0.3
...

I have a measure which I tested with tblPerformance alone and works fine but this measure does not return any values when I connect vw_Performance.BandID to tblBand.BandID

Any suggestions please?

count vw =
COUNTAX(
FILTER(
vw_Performance,
[Performance] > SELECTEDVALUE(tblBand[Low]) && [Performance] <= SELECTEDVALUE(tblBand[High])
),
vw_Performance[Portfolio Key]
)

 

Thank you

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

put your selectedvalues into variables 

 

count vw =
var low=SELECTEDVALUE(tblBand[Low]) 
var high=SELECTEDVALUE(tblBand[High])
return
COUNTAX(
FILTER(
vw_Performance,
[Performance] > low && [Performance] <= high
),
vw_Performance[Portfolio Key]
)

 

 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

put your selectedvalues into variables 

 

count vw =
var low=SELECTEDVALUE(tblBand[Low]) 
var high=SELECTEDVALUE(tblBand[High])
return
COUNTAX(
FILTER(
vw_Performance,
[Performance] > low && [Performance] <= high
),
vw_Performance[Portfolio Key]
)

 

 

Anonymous
Not applicable

Thank you

Helpful resources

Announcements
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.

Top Solution Authors
Top Kudoed Authors