Forum Discussion
double filter with unique matching
- 3 years ago
Hi ss89
On the table that you have on the question add the measure to only see the cases where the condition is valid.
Or you can add the measure as a filter in the visual and select "is greater than" 0.Best regards
Bruno Costa | Impactful Individual
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
You can also check out BI4ALL's website and our data solutions!
Hello ss89
My suggestion is that you create a measure that show the number os rows in the first or second condition.
Something like this:
Total_1 =
CALCULATE(
COUNTROWS('factTable'),
or(
AND(Stage Name = "RECEIVING" , Condition = "APPROVED"),
AND(Stage Name = "SAMPLING" , Condition = "ONLINE")
)
)
If you need more help please sahre a pbix with some dummy values.
Best regards
Bruno Costa | Impactful Individual
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
You can also check out BI4ALL's website and our data solutions!
Hello,
thanks for your propomt reply!
In this way, however, I get a total as a result; I would instead need to have only the list of all the activities that have these combined filters.
Thanks in advance!
- onurbmiguel_3 years agoPower Participant
Hi ss89
On the table that you have on the question add the measure to only see the cases where the condition is valid.
Or you can add the measure as a filter in the visual and select "is greater than" 0.Best regards
Bruno Costa | Impactful Individual
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
You can also check out BI4ALL's website and our data solutions!- ss893 years agoHelper II
Hi onurbmiguel_ ,
thanks for your tips, it works!
The last thing: items that meet the two conditions at the same time (RECEIVING=APPROVED & SAMPLING=ONLINE) should be displayed only the item that has SAMPLING=ONLINE otherwise I risk having duplicates in the display
I would like to visualize only the lot_id with Sampling online.
Thanks in advance!
- onurbmiguel_3 years agoPower Participant
hi ss89
Try this one:
Total_1 = CALCULATE( Distintcount(Lot_ID), or( AND(Stage Name = "RECEIVING" , Condition = "APPROVED"), AND(Stage Name = "SAMPLING" , Condition = "ONLINE") ) )like this the total will be right
Best regards
Bruno Costa | Impactful Individual
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
You can also check out BI4ALL's website and our data solutions!