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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
cammar
Frequent Visitor

Measure to divide filtered numbers

Hi all,

 

I am looking for a measure to do the following:

 

use the FTEquiv column in the 'Sheet' table

filter to only include people that are tagged 'Block Contract' in the Tag column in the 'Activity' Table 

 

Thanks

1 REPLY 1
v-rongtiep-msft
Community Support
Community Support

Hi @cammar ,

You can create a measure in Power BI by going to the "Modeling" tab and selecting "New Measure". Here's an example measure that should accomplish what you're looking for:

FTEquiv Block Contract =
CALCULATE (
    SUM ( Sheet[FTEquiv] ),
    FILTER ( Activity, Activity[Tag] = "Block Contract" )
)

This measure uses the CALCULATE function to sum the FTEquiv column in the Sheet table, but only for rows where the Tag column in the Activity table is "Block Contract". You can name the measure whatever you like, and then use it in your visuals just like any other measure.

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.