The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have a measure forecasting the total gifts for the present FY which seems working fine in a card visual:
However, when I referenced it in another measure using SWITCH, the value was not showing up:
Can someone explain to me why this is happening and what changes I should make for the value to show up correctly?
Thank you very much in advance!
@acao-96 SELECTEDVALUE only returns a value if there is only one value in the filter context otherwise it will return a blank, you need to investigate if the filter context contains more than one value, just use DISTINCTCOUNT to make that check.
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |