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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Rinkin_Vaghani
Frequent Visitor

Need help with Dax formulas

Guys hello there. I am new to this power BI tool.

I need one more calculated column with repair % (Repair spot*100/Total Spot)

Any help?

 

Rinkin_Vaghani_0-1606481253883.png

 

5 REPLIES 5
Anonymous
Not applicable

@Rinkin_Vaghani  hi Mate ,
you can use this .but you have to create a measure .
Repair spot = calculate(sum([repairspot]))
then you have use divide function.

select a new col. then  test = Divide (repair spot)*100,total spot).

  










amitchandak
Super User
Super User

@Rinkin_Vaghani , Try a new column like

New column  = divide([Repair spot], sumx(Table,[TotalSpot]))

 

Mark it % column, not need multiply by 100

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thanks for your reply. But as i said new to power Bi and dont know any formula. Can you elaborate?

@Rinkin_Vaghani , It is a new column

New column = divide([Repair spot], sumx(Table,[TotalSpot])) - Repair spot of each row will be divided by total of TotalSpot

https://www.youtube.com/watch?v=cs1ZQU3acWE

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak @Anonymous Thank you guys for your help. I got another solution.

 

Rinkin_Vaghani_0-1606501406753.png

I want another solution now regarding relative date filtering.

I have added slicer to select perticular dates, and i want relative date filtering (last week to be specific) for that selected period. But when i use normal relative filtering, it automaticaly considers last week with my computer date instead of slicer date. Any help here?

 

Using Power BI August 2018 Version

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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