Forum Discussion
ergocorp
4 years agoHelper II
Measure as Slicer
This has come up quite a lot, but in my case I have a relatively huge table (13 million rows, 44 columns, 20 measures), so it's a bit of a slog to try and unpack for my scenario! Boiling it down ...
- 4 years ago
ergocorp , if you want to use filter on measure then use the filter. Also, this need to be done with some group by
Example
sumx(filter(values(invoice[invoice_id]) , [measure]>1) ,[Measure2] )
or
Calculate( [Measure2],
filter(values(invoice[invoice_id]) , [measure]>1) )
- 4 years ago
Your [Example issue] needs a FILTER expression. Something along the lines of:
Example issue = CALCULATE ( DISTINCTCOUNT ( '01-Payments'[Supplier name] ), FILTER ( '01-Payments', [YesProportion] < 1 ) )
amitchandak
4 years agoSuper User
ergocorp , if you want to use filter on measure then use the filter. Also, this need to be done with some group by
Example
sumx(filter(values(invoice[invoice_id]) , [measure]>1) ,[Measure2] )
or
Calculate( [Measure2],
filter(values(invoice[invoice_id]) , [measure]>1) )