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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

@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

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors