Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Applicable88
Impactful Individual
Impactful Individual

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:

 

Applicable88_0-1620148581162.png

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:

https://drive.google.com/drive/folders/1SwwckuZSP30RQ1lg6YLkbyoGOuAF4OZ-?usp=sharing

 

 

Thank you very much in advance.

Best. 

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Applicable88 ,

 

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]

2.PNG

 

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.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @Applicable88 ,

 

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]

2.PNG

 

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.
v-jayw-msft
Community Support
Community Support

Hi @Applicable88 ,

 

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.

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. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.