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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Seiryth
Frequent Visitor

Filter individual colums to form a dashboard

Hi All,

 

i'm trying to show a sales dashboard that demonstrates the gross profit per sales person. Each entry in the gross profit column has a column next to it called rating, which can comprise of two potential values: commited and coming.

 

I need to create a view that shows a single visual in power bi, with the commited value in one column and another in a coming column, with each row representing a sales person.

 

i've been wracking my brain on how to do this, as visual filters and page level filters leave me with one or the other and not both.

2 ACCEPTED SOLUTIONS
BhaveshPatel
Community Champion
Community Champion

@Seiryth

 

Not sure is this what you would like to achieve in your final results. Please follow the screenshots.Sample TableSample TableCreate a Measure for comingCreate a Measure for comingCreate a measure for committedCreate a measure for committedFinal ResultsFinal Results

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

ankitpatira
Community Champion
Community Champion

@Seiryth create two calculated columns one called commited and other called coming as below,

 

Commited = IF (tableName[rating] = "Commited", 1 , 0)

Coming = IF (tableName[rating] = "Coming", 1 , 0)

 

Then use clustered column or bar chart and drop two calculated columns onto Values section and you will now be abe to see sum/count of commited and coming values onto same visual.

View solution in original post

4 REPLIES 4
ankitpatira
Community Champion
Community Champion

@Seiryth create two calculated columns one called commited and other called coming as below,

 

Commited = IF (tableName[rating] = "Commited", 1 , 0)

Coming = IF (tableName[rating] = "Coming", 1 , 0)

 

Then use clustered column or bar chart and drop two calculated columns onto Values section and you will now be abe to see sum/count of commited and coming values onto same visual.

ok so I ended up figuring this out throughout the day, this is how I ended up doing it...

 

I created two calculated columns as such

 

 

Commit revenue = CALCULATE(SUM('Pipe - This Month'[Product_Revenue]),'Pipe - This Month'[Rating]="Commit")
Commit cost= CALCULATE(SUM('Pipe - This Month'[Product_Cost]),'Pipe - This Month'[Rating]="Commit")

Coming revenue = CALCULATE(SUM('Pipe - This Month'[Product_Revenue]),'Pipe - This Month'[Rating]="Coming")
Coming cost= CALCULATE(SUM('Pipe - This Month'[Product_Cost]),'Pipe - This Month'[Rating]="Coming")

then i created two columns, one for commit and one for coming as such:

GrossProfit Commit= ('Pipe - This Month'[Commit Product Revenue]/1000-'Pipe - This Month'[Commit Product Cost]/1000)
GrossProfit Coming= ('Pipe - This Month'[Coming Product Revenue]/1000-'Pipe - This Month'[Coming Product Cost]/1000)

this gives me my commit and coming columns i needed 🙂 

BhaveshPatel
Community Champion
Community Champion

@Seiryth

 

Not sure is this what you would like to achieve in your final results. Please follow the screenshots.Sample TableSample TableCreate a Measure for comingCreate a Measure for comingCreate a measure for committedCreate a measure for committedFinal ResultsFinal Results

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.
GilbertQ
Super User
Super User

Just a thought would be to possibly create 2 measures, one for Commited and one for Coming?

 

And in doing so you could then use a visual to display them together?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.