Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello, I have those two measured colums which counts the number of logements by a certain date, in the first case i want to keep only rows not null, on the other one i keep all "date promesse de vente réelles" rows
Unfortunetly the result is the same in the both case so i guess the first measured colum isnt working, any idea to fix it?
First measured column =
Logements par promesse réelle vide =
CALCULATE(
'Opérations'[Nb de logements],
FILTER('Dates réelles', 'Dates réelles'[date promesse de vente réelles]))
Second measured column:
Logements par promesse réelle non vide =
CALCULATE(
'Opérations'[Nb de logements],
FILTER('Dates réelles', 'Dates réelles'[date promesse de vente réelles] <> BLANK()))
Solved! Go to Solution.
Try this:
SomeMeasure =
CALCULATE(
'Opérations'[Nb de logements],
FILTER(
'Dates réelles',
NOT ISBLANK( 'Dates réelles'[date promesse de vente réelles] )
)
)
You cannot use <> BLANK() as that will also exclude 0. You can use ==BLANK() if you want to differientate with =0, but I don't know how to do that for not equal, but NOT ISBLANK() works.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThanks you by a lot!
I have now my 4 measurements that i wanted :
Try this:
SomeMeasure =
CALCULATE(
'Opérations'[Nb de logements],
FILTER(
'Dates réelles',
NOT ISBLANK( 'Dates réelles'[date promesse de vente réelles] )
)
)
You cannot use <> BLANK() as that will also exclude 0. You can use ==BLANK() if you want to differientate with =0, but I don't know how to do that for not equal, but NOT ISBLANK() works.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
103 | |
98 | |
98 | |
38 | |
37 |
User | Count |
---|---|
152 | |
121 | |
73 | |
71 | |
63 |