Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table where Store Numbers are listed on the left, and then a calculated column determines whether a store is IP, IP & Analog, or Analog
IP & Analog would count both for IP and for Analog
I want to have a column that just shows IP when it is IP or IP & Analog, and Analog if it's Analog or IP & Analog
I then want to get a % IP by the entire count by using these 2 measures.
Here is what I Tried but I know I"m doing something wrong
Solved! Go to Solution.
Hi @Anonymous ,
Based on my test, you could refer to below measures:
IP count = CALCULATE(COUNT(Table1[IP Analog]),FILTER('Table1','Table1'[IP Analog]="IP"||'Table1'[IP Analog]="IP & Analog"))
Analog count = CALCULATE(COUNT(Table1[IP Analog]),FILTER('Table1','Table1'[IP Analog]="Analog"||'Table1'[IP Analog]="IP & Analog"))
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
Hi @Anonymous ,
Based on my test, you could refer to below measures:
IP count = CALCULATE(COUNT(Table1[IP Analog]),FILTER('Table1','Table1'[IP Analog]="IP"||'Table1'[IP Analog]="IP & Analog"))
Analog count = CALCULATE(COUNT(Table1[IP Analog]),FILTER('Table1','Table1'[IP Analog]="Analog"||'Table1'[IP Analog]="IP & Analog"))
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
I would suggest creating a calculated column for IP and Analog, then SUM each individually. The problem is IP & Analog overlaps into both catagories.
IP_Bool = IF('IP and Analog'[IP or Analog] IN {"IP", "IP & Analog"}, 1, BLANK())Analog_Bool = IF('IP and Analog'[IP or Analog] IN {"Analog", "IP & Analog"}, 1, BLANK())If you want to do 2 measures instead, then just use this filter logic:
IP_Count =
CALCULATE(
COUNTROWS('IP and Analog'), FILTER('IP and Analog', 'IP and Analog'[IP or Analog] IN {"IP", "IP & Analog"}) )
Analog_Count =
CALCULATE(
COUNTROWS('IP and Analog'),
FILTER('IP and Analog', 'IP and Analog'[IP or Analog] IN {"Analog", "IP & Analog"})
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |