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 everyone,
I have a measurement that gives the right output.... this is the measurement code:
....
and the result is correct if I insert this formula into my matrix table as you can see in the image below.
but I can't get the total in a card
Where am I doing wrong?
Thanks in advance for any suggestions
Solved! Go to Solution.
@DiePic , This measure is working for a selected value of TktTempoAccettazione, so if no value is selected for TktTempoAccettazione then the measure has nothing to work on and hence returns empty. Try putting a slicer next to it with TktTempoAccettazione as the field for it, this should put some value in the card visual.
Thank you.
thanks for reply.
I thought that countrows (VAR ContaRows = COUNTROWS(TabellaFiltrata)) will return the value ...
can you give me an example of what you suggest (... Try putting a slicer next to ....)?
thanks in advance
That just means to use a slicer with TktTempoAccettazione field. After a selection is made, the measure will have a field to work on.
Now with this measure (last column)
Thanks for any idea or suggestion
@ChiragGarg2512
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 33 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 127 | |
| 115 | |
| 87 | |
| 71 | |
| 69 |