Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Please help me to optimize the below measure. The visual is not even loading for the current measure
DAX Measure:
X_Percentage =
CALCULATE (
DIVIDE ( Measure_A, Measure_B, 0),
FILTER ( 'TableName', Calculated_column > 0 )
)
Hi @rishari ,
Please try below dax formula:
X_Percentage =
CALCULATE (
DIVIDE ( Measure_A, Measure_B, 0 ),
FILTER ( ALL ( 'TableName' ), Calculated_column > 0 )
)
If it also not work, please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?
Thanks for your efforts & time in advance.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Its better not to filter an entire table when you can just filter a column. Try
X_Percentage =
CALCULATE (
DIVIDE ( Measure_A, Measure_B, 0 ),
'TableName'[Calculated_column] > 0
)
It was not working, that's why i used filter function
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
68 | |
60 | |
51 | |
36 | |
36 |
User | Count |
---|---|
83 | |
72 | |
58 | |
45 | |
44 |