The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I currently have a measure for a pareto chart:
however I was hoping to get this in % form i.e. rather than a range of 1-1200 for example is it possible to get this as a 0-100% range?
Solved! Go to Solution.
@Anonymous , Try like
Cumul Events =
VAR thisdate =
MAX ( 'Enhanced line list'[Event Date] )
RETURN
divide(
CALCULATE (
[Count],
ALL ( 'Enhanced line list'[Event Date] ),
'Enhanced line list'[Event Date] <= thisdate
) ,
CALCULATE (
[Count],
ALL ( 'Enhanced line list'[Event Date] )
)
)
or
Cumul Events =
VAR thisdate =
MAX ( 'Enhanced line list'[Event Date] )
RETURN
divide(
CALCULATE (
[Count],
ALL ( 'Enhanced line list'),
'Enhanced line list'[Event Date] <= thisdate
) ,
CALCULATE (
[Count],
ALL ( 'Enhanced line list' )
)
)
@Anonymous , Try like
Cumul Events =
VAR thisdate =
MAX ( 'Enhanced line list'[Event Date] )
RETURN
divide(
CALCULATE (
[Count],
ALL ( 'Enhanced line list'[Event Date] ),
'Enhanced line list'[Event Date] <= thisdate
) ,
CALCULATE (
[Count],
ALL ( 'Enhanced line list'[Event Date] )
)
)
or
Cumul Events =
VAR thisdate =
MAX ( 'Enhanced line list'[Event Date] )
RETURN
divide(
CALCULATE (
[Count],
ALL ( 'Enhanced line list'),
'Enhanced line list'[Event Date] <= thisdate
) ,
CALCULATE (
[Count],
ALL ( 'Enhanced line list' )
)
)
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |