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
Anonymous
Not applicable

How to add or substract measures created in DAX and obtained from Source SQL?

Hi Experts,

I have some averages and Count I have from source file via the T-SQL and I have to create a few measures in the DAX 

Example in my case 

TotalCntSales (I have this from SQL and in Dax showing up as Summation symbol) 

Now I created Dax with Total sales of Sales_East, SalesWest 

As a validity check I wanted to create measure with Total Other Sales = TotalCntSales - (Measure_Sales_East + Measure_Sales_West)

But I can only see the Measures Created in Dax not what I have derived from Source. 

Workaround. I have created another measure in Dax for Total Sales but want to know if there is a smarter ways of doing it?

Thanks a lot.

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , check the data type is the numeric type then you will see summarization sign 

 

also in measure, you need to take aggregated column (source will give column unless it analysis service or PBI dataset)

 

example 

sum(Table[TotalCntSales]) - (Measure_Sales_East + Measure_Sales_West)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.