Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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 All ,
I have created 2 measure which is as per this
1 is
Hi @x0 ,
Based on the formula you provided, it looks like you want to divide the first measurement by the second measurement. I have tried the following modification, please refer to it:
Total Move insq percent =
VAR LeasingAgentsWithCustomData =
FILTER (
'Move Insq',
'Move Insq'[MonthIndex]
IN VALUES ( 'CustomTable'[MonthIndex] )
&& 'Move Insq'[YearPart]
IN VALUES ( 'CustomTable'[Year] )
&& 'Move Insq'[Property]
IN VALUES ( 'CustomTable'[Property] )
&& 'Move Insq'[First Name] <> BLANK ()
)
RETURN
DIVIDE ( COUNTROWS ( LeasingAgentsWithCustomData ), COUNTROWS ( 'Move Insq' ) )
Total Names Count Divided by 3 =
VAR SelectedMonths =
VALUES ( 'CustomTable'[MonthIndex] )
VAR SelectedYears =
VALUES ( 'CustomTable'[Year] )
VAR SelectedProperties =
VALUES ( 'CustomTable'[Property] )
RETURN
DIVIDE (
COUNTROWS (
FILTER (
'Move Insq',
'Move Insq'[MonthIndex]
IN SelectedMonths
&& 'Move Insq'[YearPart]
IN SelectedYears
&& 'Move Insq'[Property]
IN SelectedProperties
&& 'Move Insq'[First Name] <> BLANK ()
)
),
3
)
Final Measure1 =
DIVIDE(
[Total Names Count Divided by 3],
[Total Move insq percent]
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @Anonymous
seems like your provided solution work for me
but i need some modification
lets look this measure first
Total Names Count Divided by 3 = VAR SelectedMonths = VALUES ( 'CustomTable'[MonthIndex] ) VAR SelectedYears = VALUES ( 'CustomTable'[Year] ) VAR SelectedProperties = VALUES ( 'CustomTable'[Property] ) RETURN DIVIDE ( COUNTROWS ( FILTER ( 'Move Insq', 'Move Insq'[MonthIndex] IN SelectedMonths && 'Move Insq'[YearPart] IN SelectedYears && 'Move Insq'[Property] IN SelectedProperties && 'Move Insq'[First Name] <> BLANK () ) ), 3 )
on this i dont want to divide with 3 i just want when i select multiple divide with that select month for example i selected only 8 month 2023 measure should divide with 1 and if selecte 8+9 2023 should be divide with 2
now same thing i want for this measure
Total Move insq percent = VAR LeasingAgentsWithCustomData = FILTER ( 'Move Insq', 'Move Insq'[MonthIndex] IN VALUES ( 'CustomTable'[MonthIndex] ) && 'Move Insq'[YearPart] IN VALUES ( 'CustomTable'[Year] ) && 'Move Insq'[Property] IN VALUES ( 'CustomTable'[Property] ) && 'Move Insq'[First Name] <> BLANK () ) RETURN DIVIDE ( COUNTROWS ( LeasingAgentsWithCustomData ), COUNTROWS ( 'Move Insq' ) )
same as per first and the final measure should perfororm
Final Measure1 = DIVIDE( [Total Names Count Divided by 3], [Total Move insq percent] )
Hello @Anonymous
As per your Exercies
result appear wrong value
please have a look ,
Total Move insq Percent showing 0.29 but actual is 14.67
Final Measure should be 1.67/14.67 = 11% , 9.33/14.67= 64 % , 3.00/14.67 = 20% , 0.67/14.67 = 5% .
is any issue with my custom table ? here is my custom table
Hi @x0,
Can you tell me what is your problem in detail? Like I understand you are not getting 100% but what should be the value you are expecting. Can you provide some screenshots that will help?
Hello @govindarajan_d
Now look Below screen shot .
marked with yellow mark is my final measure which is doing divide Total Names Count Divided by3 / Total Move insq percent this 2 measure i already shared on my train message
but the final measure appear 100% for all row which totally wrong its should to as per screen shot
look at the value
1.67 9.33 3.00 0.67 this all value from my measure Total names Count divided by 3
and look this values 14.67 this value come from measure 2 which is total move insq percent
so this is my problem. and actually when you do 1.67/14.67 = 11% , 9.33/14.67= 64 % , 3.00/14.67 = 20% , 0.67/14.67 = 5% . should be reflect this value but all row showing 100 %
let me know if need additional information.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
16 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |