Forum Discussion
Convert a card into a measure
- 9 years ago
Hi bmannato
There is no feature to auto-create a measure from a card like that. You have created any measures at all so far?
- 9 years ago
I managed to create the measure independently from the visual, by using the example shown here
Something likeCALCULATE(SUM(Orders[total]);
FILTER(Orders;Orders[LastMonth]="LastMonth");
FILTER(Orders;Orders[status]="pent" ||
Orders[status]="pe" ||
Orders[status]="le" ||
Orders[status]="ps" ||
Orders[status]="pp")
)
Yes, I've created some simple measures (e.g sum of all purchases, regardless of any filter), and some tables with single filtering, using functions like SUM, CALCULATE, and SUMMARIZE.
I managed to create the measure independently from the visual, by using the example shown here
Something like
CALCULATE(SUM(Orders[total]);
FILTER(Orders;Orders[LastMonth]="LastMonth");
FILTER(Orders;Orders[status]="pent" ||
Orders[status]="pe" ||
Orders[status]="le" ||
Orders[status]="ps" ||
Orders[status]="pp")
)