Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello, I managed to solve a problem using the ALLSELECTED() function, but now the array has a lot of blank lines, how can I remove it?
By the filters I can't, since if I filter a column it excludes the value of the others.
Solved! Go to Solution.
Hi,
Could you please try the below whether it suits your requirement?
Fluxo =
IF (
[Total a receber measure] <> BLANK ()
&& [Tltal a pagar measure] <> BLANK (),
CALCULATE (
[Total Fluxo] + [Total Saldo Bancário],
FILTER (
ALLSELECTED ( 'D-Pagar + Receber' ),
'D-Pagar + Receber'[Data] <= MAX ( 'BA-Data'[Data_Base] )
)
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Could you please try the below whether it suits your requirement?
Fluxo =
IF (
[Total a receber measure] <> BLANK ()
&& [Tltal a pagar measure] <> BLANK (),
CALCULATE (
[Total Fluxo] + [Total Saldo Bancário],
FILTER (
ALLSELECTED ( 'D-Pagar + Receber' ),
'D-Pagar + Receber'[Data] <= MAX ( 'BA-Data'[Data_Base] )
)
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks for your @Jihwan_Kim solution.
I just needed to change the "&&" operator to "||" and it worked perfectly.
Thanks a lot for the solution.
Hi, @Shaurya
These blank values are traditional when I use ALLSELECTED(), the filter needs to be applied within the measure itself to work. I've tried to use all the filters, I only have the measure, but I'm not getting it.
Hi @Anonymous,
Why don't you try using the filters? Select all values first and just uncheck Blank.
Works for you? Mark this post as a solution if it does!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
71 | |
36 | |
21 | |
19 | |
15 |
User | Count |
---|---|
125 | |
37 | |
29 | |
29 | |
24 |