The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have created true or false measures out of a 2 different measure
For example: Cash holding if(measure1>measure2, 0,1).
I am trying to count how many numbers of 1 we got as a card visual but nothing seems to be working. Does anyone have any other way? When I select the Card visual it does not give the proper count.
Solved! Go to Solution.
I thought you said true/false output. No issues. Try
you my try
SUMX (
VALUES ( Table[PostDate] ),
[Cash_Holding_Over_Under]
)
Hi @rahulvyas
you my try
SUMX (
VALUES ( Table[PostDate] ),
CALCULATE (
IF (
[Cash_Holding_Over_Under] = TRUE (),
1
)
)
)
Does not work. Getting the error. I also check the format and its a "Whole Number"
I thought you said true/false output. No issues. Try
you my try
SUMX (
VALUES ( Table[PostDate] ),
[Cash_Holding_Over_Under]
)
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
9 | |
7 |