Forum Discussion
Anonymous
8 years agoNot applicable
Calculated % measure
Hello, I have problems creating a measure, i want to show on a line chart the percentage of "orders on time" (1). My power bi table looks like the first one with orders and itmes, and when I ma...
- 8 years ago
Hi Anonymous
You may create measure as below:
Measure = COUNTROWS ( SUMMARIZE ( FILTER ( Table1, Table1[Time] = 1 ), Table1[Order] ) ) / DISTINCTCOUNT ( Table1[Order] )Regards,
Cherie
v-cherch-msft
8 years agoMicrosoft Employee
Hi Anonymous
You may create measure as below:
Measure =
COUNTROWS ( SUMMARIZE ( FILTER ( Table1, Table1[Time] = 1 ), Table1[Order] ) )
/ DISTINCTCOUNT ( Table1[Order] )
Regards,
Cherie