The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have the following code for a measure:
Measure =
STDEVX.S(
SUMMARIZE (
ALLSELECTED('Table'),
'Table'[Column]
)
, [Measure]
)
I have programmed the same measure as follows
Measure (alt)=
STDEVX.S(
SUMMARIZE (
ALLNOBLANKROW('Table'),
'Table'[Column]
)
, [Measure]
)
If I use the former, my dashboard/report is interactive as intended but has errors that cause some line charts to not appear properly. If I use the latter, the line charts work, but then I lose the slicer functionality required.
Is there a generic proper code format to incorporate both ALLSELECTED and ALLNOBLANKROW?
Solved! Go to Solution.
@mrothschild Maybe:
Measure =
STDEVX.S(
SUMMARIZE (
ALLNOBLANKROW(ALLSELECTED('Table')),
'Table'[Column]
)
, [Measure]
)
@mrothschild Maybe:
Measure =
STDEVX.S(
SUMMARIZE (
ALLNOBLANKROW(ALLSELECTED('Table')),
'Table'[Column]
)
, [Measure]
)
Didn't quite work, but the problem was upstream from there returning blanks when I didn't need to.
User | Count |
---|---|
79 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |