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.
Hi,
have a report 2 visuals
one a card visual and has
shows 6
and have a table visual which shows the 6 rows.
When try show this (DISTINCTCOUNT('table'[col])) shows as 1 on each row rather than 6 presumably as evaulating at row level rather than shpwing the total in report which 6.
How can we have a variabale which shows this (DISTINCTCOUNT('table'[col])) on each row of the table so evaluate at report leve rather than row level?
Thanks
Solved! Go to Solution.
@po , try one of the two options
calculate(DISTINCTCOUNT('table'[col]), allselected('table'))
or
calculate(DISTINCTCOUNT('table'[col]), all('table'))
@po , try one of the two options
calculate(DISTINCTCOUNT('table'[col]), allselected('table'))
or
calculate(DISTINCTCOUNT('table'[col]), all('table'))
Thanks for response