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
Pri1nziii
Regular Visitor

divide 2 values

Hello,

Can someone please help me?
I have a table. Different times are being calculated here.
I have different filters: year, month, calendar week.

 

My problem is that I would like to divide two by two and then display them as a percentage.

Pri1nziii_0-1743936424965.png

 

 

Can someone help me with this?

How can I upload an example file?

 

Thanks everyone.

 

 

1 ACCEPTED SOLUTION
v-hashadapu
Community Support
Community Support

Hi , Thank you for reaching out to the Microsoft Community Forum.

 

This can be due to the Calendar table not having a relationship with other table but can't say for sure. If possible, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

View solution in original post

6 REPLIES 6
v-hashadapu
Community Support
Community Support

Hi @Pri1nziii , We are closing this thread as we haven't heard from you in a while, according to our follow-up policy. If you have any more questions, please start a new thread on the Microsoft Fabric Community Forum. We will be happy to assist you! Thank you for being part of the community!

v-hashadapu
Community Support
Community Support

Hi @Pri1nziii , it's been a while since we last heard from you. We are ready to assist you with resolving the issue, but we need the necessary details from you. Kindly share the information required so we can better understand and address your issue.

v-hashadapu
Community Support
Community Support

Hi , Thank you for reaching out to the Microsoft Community Forum.

 

This can be due to the Calendar table not having a relationship with other table but can't say for sure. If possible, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Pri1nziii
Regular Visitor

Hello

Thanks for the formula.

But now the problem is that my filters no longer "work."

The value no longer changes depending on the date.

Filters: Year, Month, Week of Calendar, Day

Maybe another idea?

Thanks

rohit1991
Super User
Super User

Hi @Pri1nziii ,

 

Here’s how to make sure your efficiency percentage updates correctly when you use your filters (year, month, week, etc.).

1. Create your measures (not columns!) It’s important to use DAX measures, since only measures react to slicers and filters. For example:

VC = SUM(Data[VC])
NC = SUM(Data[NC])
Efficiency (%) = DIVIDE([VC], [NC], 0)

 

2. Make sure your tables are related Your date/calendar table should be related to your main data table. Otherwise, slicers won’t filter your visuals as expected.

3. If the value isn’t changing with filters: Double-check that you’re using measures, not calculated columns. Check your relationships (Date, Year, Month, etc.) are set up and active. Try using ALLSELECTED if you have more complex filtering:

 

Efficiency (%) =
    DIVIDE(
        CALCULATE(SUM(Data[VC]), ALLSELECTED('Calendar')),
        CALCULATE(SUM(Data[NC]), ALLSELECTED('Calendar')),
        0
    )

 

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Hello,

I need help.

Unfortunately, my filters aren't affecting my ads.

No matter what date is selected in my filters, my efficiency display remains unchanged.

 

VC = (Values[TARGET_TE] + Values[TARGET_TR])/60

NC = (Values[AGIST_TE] + Values[AGIST_TR])/60

Efficiency (%) =

DIVIDE(SUM([VC]),SUM([NC]),0)

 

How do I get my filters to work?

 

Pri1nziii_0-1744102574660.png

 

Pri1nziii_1-1744102590934.png

 

Thanks 

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.

Top Solution Authors