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.
Hello,
Could anyone tell me why this measure gives me same result as just normal sum, the threshold of 1.5 doesnt work (this field is a calculated column to which DIVIDE was used and its reflected in pct, but 150% is 1.5, right?)
Measure =
VAR _First_Amount = CALCULATE( SUM( Table[Amount] ), 'FactTable'[Ratio] <= 1,5 )
VAR _Second_Amount = CALCULATE( SUM( Table2[Amount] ), 'FactTable'[Ratio] <= 1,5 )
RETURN
CALCULATE( DIVIDE( _First_Amount, _Second_Amount ))
First thing I see is that your measure has 1,5 (comma) instead of 1.5 - could that be the issue?
Hello,
No. I tried last approach with coma, but it gave me error. I am trying with dots
Can you share some of your data? Also I'm not sure if you changed the variable names to post here but they don't match your return in the measure.
Yes I changed due to private reasons (client data, can easily spot)
Cannot share the data unfortunately, but let me explain
Basically I got two tables with some $ amount (Table and Table2)
I want to divide sum of these, but only for lines from Fact table, where column in Fact table [Ratio] is above 150% (thus 1.5)
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 |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |