Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
When I'm tyring to export underlying data for a Card visual where i used a measurre to have a value to the card visual. But, when I do the same thing with Table chart it gave the correct results.
The measure which i've used to calculate value to card visual as follows:
Solved! Go to Solution.
Thanks for your reply, It really helped me a lot. but, I did minor change in your measure then, it works for me. When I go with yours the Count Accuracy values are summing up for all the records and giving me the final result. So, I modified and it's working now.
What I used is:
Count Accuracy =
IF (
ISBLANK ( SUM ( 'MAXIMO INVTRANS'[CURBAL] ) ),
BLANK (),
IF (
AND (
SUM ( 'MAXIMO INVTRANS'[CURBAL] ) <> BLANK (),
SUM ( 'MAXIMO INVTRANS'[CURBAL] ) > 0
),
DIVIDE (
ABS ( SUM ( 'MAXIMO INVTRANS'[PHYSCNT] ) - SUM ( 'MAXIMO INVTRANS'[CURBAL] ) ),
SUM ( 'MAXIMO INVTRANS'[CURBAL] )
),
0
)
)
)
Hi @Raghu_1753 ,
Please try the following measure.
Count Accuracy =
SUMX (
SUMMARIZE (
'Table',
'Table'[TRANSDATE],
"MEASURE",
IF (
ISBLANK ( SUM ( 'MAXIMO INVTRANS'[CURBAL] ) ),
BLANK (),
IF (
AND (
SUM ( 'MAXIMO INVTRANS'[CURBAL] ) <> BLANK (),
SUM ( 'MAXIMO INVTRANS'[CURBAL] ) > 0
),
DIVIDE (
ABS ( SUM ( 'MAXIMO INVTRANS'[PHYSCNT] ) - SUM ( 'MAXIMO INVTRANS'[CURBAL] ) ),
SUM ( 'MAXIMO INVTRANS'[CURBAL] )
),
0
)
)
),
[MEASURE]
)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your reply, It really helped me a lot. but, I did minor change in your measure then, it works for me. When I go with yours the Count Accuracy values are summing up for all the records and giving me the final result. So, I modified and it's working now.
What I used is:
Count Accuracy =
IF (
ISBLANK ( SUM ( 'MAXIMO INVTRANS'[CURBAL] ) ),
BLANK (),
IF (
AND (
SUM ( 'MAXIMO INVTRANS'[CURBAL] ) <> BLANK (),
SUM ( 'MAXIMO INVTRANS'[CURBAL] ) > 0
),
DIVIDE (
ABS ( SUM ( 'MAXIMO INVTRANS'[PHYSCNT] ) - SUM ( 'MAXIMO INVTRANS'[CURBAL] ) ),
SUM ( 'MAXIMO INVTRANS'[CURBAL] )
),
0
)
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
34 | |
30 | |
28 | |
27 |
User | Count |
---|---|
52 | |
51 | |
38 | |
15 | |
12 |