cancel
Showing results for
Did you mean:
Helper V

## Select ordernumber in slicer, vanish from one Card and add to another card visual

Hello everybody,

I want a interactive Dashboard for workers to check off urgent, fast or slow orders:

I have randomly 11 unique ordernumbers for each status of priority (urgent, fast, slow). On top I want the count input of ordernumbers which comes in and bottom is how much were already finished of that and the workers need to check it in the input box. Naturally when no order is finished yet, it should show Zero. Normal bahaviour of powerbi visual would be that selecting a number would leads to be seen in the table. But I want to see the total inflow count on top card, and after a worker select a number to the correspond assignment which means that he just finished the order, it should be deducted in the count visual on top and add to the card visual at the bottom. Is that possible in PowerBi?

If someone can take a look, my pbix and sample file is here:

Thank you very much in advance.

Best.

1 ACCEPTED SOLUTION
Community Support

Refer the measures.

``````Measure = CALCULATE(COUNT(Table1[Ordernumber]),FILTER(ALL(Table1),Table1[Ordernumber] in VALUES(Table1[Ordernumber])))

Measure 2 = CALCULATE(DISTINCTCOUNT(Table1[Ordernumber]),FILTER(ALL(Table1),Table1[Status]="Urgent"))-[Measure]``````

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
3 REPLIES 3
Community Support

Refer the measures.

``````Measure = CALCULATE(COUNT(Table1[Ordernumber]),FILTER(ALL(Table1),Table1[Ordernumber] in VALUES(Table1[Ordernumber])))

Measure 2 = CALCULATE(DISTINCTCOUNT(Table1[Ordernumber]),FILTER(ALL(Table1),Table1[Status]="Urgent"))-[Measure]``````

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Community Support

Not very clear about what you want. My current understanding of your requirement is when there's an order selected in the slicer, the card visual would be 11-1 = 10? If so you could create a measure to count the selected orders then use the total count of orders minus the measure. Please correct me if I was misunderstood your meaning and please show more details.

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Helper V

Hi @v-jayw-msft ,

thanks for your reply. Actually there are two tables. Above are 11 input orders. Their numbers are in the middle table to show which assignment it is. Now yes, when I select a finished order at the bottom slicer, the upper card should display 10, since one is done, and the bottom one should display 1 for "one is finished". is that possible?

So top card shows orders in backlog, bottom card shows orders finished.

Best.

Announcements