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
Hi Experts,
I have 3 fields of data coming from my table. I need to calculate the target percentage and display the Tom's percetage in Target % A and Harry's in Target % B columns. The oranged coloured cells should be blank. Can someone please advise how to achieve this.
Thanks
MAHAD
Solved! Go to Solution.
Hi, @Anonymous
Try measure as below and apply them to table visual:
M_Target Qty A = IF(SELECTEDVALUE('Table'[Sales Man])="Tom", MAX('Table'[Target Qty A]),BLANK())Target %A = if(ISBLANK('Table'[M_Target Qty A]),BLANK(),MAX('Table'[Sold Qty])/[M_Target Qty A])M_Target Qty B = IF(SELECTEDVALUE('Table'[Sales Man])="Harry", MAX('Table'[Target Qty B]),BLANK())Target %B = if(ISBLANK('Table'[M_Target Qty B]),BLANK(),MAX('Table'[Sold Qty])/[M_Target Qty B])
Best Regards,
Community Support Team _ Eason
How about a simple if statement?
If Sales Man = "Tom" then Your function else Blank() -> for cells Target A
If SalesMan = "Harry" then Your function else Blank() -> for cells Target B
Thanks for your response.
Can you please let me know how to create the measure in PBI with these conditions. I'm new to Power BI.
Thanks
MAHAD
Hi, @Anonymous
Try measure as below and apply them to table visual:
M_Target Qty A = IF(SELECTEDVALUE('Table'[Sales Man])="Tom", MAX('Table'[Target Qty A]),BLANK())Target %A = if(ISBLANK('Table'[M_Target Qty A]),BLANK(),MAX('Table'[Sold Qty])/[M_Target Qty A])M_Target Qty B = IF(SELECTEDVALUE('Table'[Sales Man])="Harry", MAX('Table'[Target Qty B]),BLANK())Target %B = if(ISBLANK('Table'[M_Target Qty B]),BLANK(),MAX('Table'[Sold Qty])/[M_Target Qty B])
Best Regards,
Community Support Team _ Eason
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 | |
| 40 | |
| 21 | |
| 18 |