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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ppatel91
Helper I
Helper I

Add total views and clicks counts for particular Advertise.

How can I add a total views and clicks counts for particular Advertise. We have advertise in form of link in database table and we are displaying those as images in power BI that is in attached pucture.bi_icons.pngI am trying to add how many views and clicks that perticular advertise has(Note: it's not static images. This Ads images changes if you filter data based on date or perticular company). Also, we have total views and total clicks count column in table too. In this image, eye icon indicates no of views and mouse icon indicates the number of clicks. Also, the star icon indicates the most clicked advertisement. Also, we have filter based on the date range. I have never done something like this before. Please help me achieve this.

 

 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @ppatel91 

 

I'm not sure if I understant it correctly. If you have total views and total clicks count column in table too, you can create a column in the table or a measure to add both counts. 

New Column = 'tablename'[View Count] + 'tablename'[Click Count]
New Measure = sum('tablename'[View Count]) + sum('tablename'[Click Count])

 

Put Advertise column into a slicer to select a particular advertise and put above new column or measure into a visual to show the total value. Or put Advertise column and above new column (or measure) into the same visual (e.g. table visual) to show the total count of every advertise. Is this what you want?

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Hello,

Thank you for your response. Here, I am not looking for total values of views+clicks but I want total clicks and total views with the icons for that perticular Ad as I you in see in my Ads image. Since Ads are in the form of URL and coming from the database I am not sure how can I accommodate those icons(eye. mouse, start etc...) with each ad. I have more than 50 unique ads. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.