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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Phillysap
Frequent Visitor

Return Formula Showing up for other criteria not selected

Hey all!

 

I am trying to return a value based off a criteria for a social platform tiktok. All other platforms have impressions where as tiktok video views are impressions. So I am trying to isolate video views so I can do a formula like (facebook impressions +instagram impressions + tiktok impressions)

Phillysap_0-1680903092577.png

 

The issue I am having the return is getting attached to the other platforms.

 

This is the formula I have below.

Measure =
var _select=SELECTEDVALUE('Content'[Platform])
return
CALCULATE(SUM('Content'[Video view count]),'Content'[Platform]="tiktok")
 
Any help would be appreciated
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Phillysap , try like

 

Measure =
var _select=SELECTEDVALUE('Content'[Platform])
return
CALCULATE(SUM('Content'[Video view count]),filter( 'Content'[Platform], 'Content'[Platform]="tiktok") )

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Phillysap , try like

 

Measure =
var _select=SELECTEDVALUE('Content'[Platform])
return
CALCULATE(SUM('Content'[Video view count]),filter( 'Content'[Platform], 'Content'[Platform]="tiktok") )

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Yes that worked!  so the filter is saying I just want it to show up for tiktok only @amitchandak ?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.