Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Could someone help why the line value function is not working with the selectedvalue in the slicer.
Have a slicer Fund Type with the options below. Using a card with DAX
Solved! Go to Solution.
Hi @Anonymous, you have Fund Type as your legend, which might be stopping your measure from evaluating as TRUE.
Hi @Anonymous
I am so glad to hear that you have solved your problem , please consider Accept it as the solution to help the other members find it more quickly.
Best Regards
Community Support Team _ Ailsa Tao
It did not work unless the column series Fund Type is remove. Found a way around it where the slicer is at the Fund Type table ( containing a list of distinct values) and the coumn series is at the table row level. Thank you so much for your help
Needed to have column series of fund type and need to calculate the average in the line depending on the fund type selected. If none is selected then it is average of all fund types. Hope that clarify the context on the goal
Hi @Anonymous, does this work?:
Avg =
IF(
CALCULATE(
DISTINCTCOUNT('Fund Type'[Fund Type])
, ALLSELECTED('Fund Type'[Fund Type])
) > 1
, 50000
, 200
)
Needed the fund type in the column series to depict the different colour of the fund type. Is there a way to based only on selected value.
Hi @Anonymous, you have Fund Type as your legend, which might be stopping your measure from evaluating as TRUE.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |