Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Sorry for the basic question. I am trying to learn the measure flow. I have a table that contains several items
PCB
PS
CABLES
COVER
LEDs
The following measure helps to identify the items
IF (CONTAINS(Installers,Installers[Product Name],"PCB"),"these are the pcb found","not pcb")
However, it displays all other “not pcb” items. How do I display only the PCB items.
Solved! Go to Solution.
Hi , @BEC_100
According to your description, you just want to show the data contains "PCB".
Here are the steps you can refer to :
(1)We can click "New Measure" to enter this:
Flag = var _name = MAX('Table'[Name])
return
IF( CONTAINSSTRING(_name,"PCB") ,1,0)
(2)Then we can put the measure on the "Filter on this visual" and configure it and then we can meet your need:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @BEC_100
According to your description, you just want to show the data contains "PCB".
Here are the steps you can refer to :
(1)We can click "New Measure" to enter this:
Flag = var _name = MAX('Table'[Name])
return
IF( CONTAINSSTRING(_name,"PCB") ,1,0)
(2)Then we can put the measure on the "Filter on this visual" and configure it and then we can meet your need:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Make the following change
Before:
IF (CONTAINS(Installers,Installers[Product Name],"PCB"),"these are the pcb found","not pcb")
After:
IF (CONTAINS(Installers,Installers[Product Name],"PCB"),"these are the pcb found")
yes, of course.
What I get with the measure is
PCB | 375893 | These are the PCB found |
PS | 465 | Not pcb |
CABLES | 4567 | Not pcb |
PCB | 45786 | These are the PCB found |
LEDs | 8923 | Not pcb |
I would like to display only PCB items
PCB | 375893 | These are the PCB found |
PCB | 45786 | These are the PCB found |
many thanks
@BEC_100 ,
Could you explain it bit more in detail? Also, If possible please add the sample data.
Thanks,
Arul
Proud to be a Super User!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!