Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
In first screenshot What i want is and in second sceenshot what i am getting is ,
How can i resilve it.
What i am getting
Solved! Go to Solution.
@Anonymous,
Is your table like this?
I created a measure but didn't meet the error:
Measure 2 =
VAR x =
COUNTX(
FILTER(
Sheet9,
[Status] = 2
),
[Status]
)
VAR y =
COUNTAX(
Sheet9,
Sheet9[Status POT]
)
RETURN
DIVIDE(
y,
x
)The error is very strange.
Why did you add filters on this visual?
Maybe you can remove the filters , then, try it again.
Missed needed screenshot:
Hi @Anonymous ,
You want to use "DIVIDE" function to calculate the result, right?
Is the right result 0.79?
Maybe you can try this:
GRDSS - Payment On Time % = COUNTAX( table, table[column] ) / [Volume of Supplier Invoices Paid]
DIVIDE function vs divide operator (/)
If it not work, please give me a sample data model.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , Yes right result 0.79 but i am getting as 1 After Using GROSS - Payment On Time % = COUNTAX( 'Append-France,Greece,Monaco', 'Append-France,Greece,Monaco'[Status POT ] ) / [Volume of Supplier Invoices Paid] Thanks In Advance.
@Anonymous
if you get 1, maybe you just do not define Decimal places parameter as it need?
do not hesitate to give a kudo to useful posts and mark solutions as solution
@Anonymous,
Is your table like this?
I created a measure but didn't meet the error:
Measure 2 =
VAR x =
COUNTX(
FILTER(
Sheet9,
[Status] = 2
),
[Status]
)
VAR y =
COUNTAX(
Sheet9,
Sheet9[Status POT]
)
RETURN
DIVIDE(
y,
x
)The error is very strange.
Why did you add filters on this visual?
Maybe you can remove the filters , then, try it again.
Hi @v-lionel-msft ,
Your Logic was correct and its Working fine Now.
Leasson Learned:Filters has to keep in Measure not on the Filters on the Page.
Thanks For your Help.
Hi @v-lionel-msft ,
I want calulate it on :
I think this is the reason.
Hi @Anonymous ,
Can you give me your .PBIX file?
Maybe we need to modify the DAX of [Volume of Supplier Invoices Paid] .
Regards,
Lionel Chen
I have used measure as below:
Volume of Supplier Invoices Paid = COUNTX(FILTER('Append-France,Greece,Monaco','Append-France,Greece,Monaco'[Status]=30),'Append-France,Greece,Monaco'[Status])
i am unable to share PBIX file as per the security norms of organisation.
Best Wishes,
Younis Syed
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |