We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all, I'm trying to create a new measure but I'm not having much luck, I've been away from Power BI for some time.
Can someone please assist with the following. I'm trying toturn this logic in to a DAX measure.
Kindest, Kelvin
Type =
Contribution to journal - Article
OR
Contribution to journal - Review article
OR
Contribution to journal - Literature review
OR
( (Chapter in Book/Report/Conference proceeding - Conference contribution
AND
(Publication series > ISSN (Print) is not null OR Series > ISSN (Electronic) is not null)
)
Solved! Go to Solution.
Hi @Anonymous ,
The environment you are creating the formulas in is power query (which uses the M language) and not powerbi desktop. for the dax formulas refer to the following screenshot.
M =
IF (
MAX ( 'Table'[Contribution to Contribution to journal] )
IN { "Article", "Review article", "Literature review" }
|| (
(
MAX ( 'Table'[Chapter in Book/Report/Conference proceeding] ) = "Conference contribution"
)
&& (
MAX ( 'Table'[Publication series > ISSN (Print)] ) <> BLANK ()
|| MAX ( 'Table'[Series > ISSN (Electronic)] ) <> BLANK ()
)
),
1,
0
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
The environment you are creating the formulas in is power query (which uses the M language) and not powerbi desktop. for the dax formulas refer to the following screenshot.
M =
IF (
MAX ( 'Table'[Contribution to Contribution to journal] )
IN { "Article", "Review article", "Literature review" }
|| (
(
MAX ( 'Table'[Chapter in Book/Report/Conference proceeding] ) = "Conference contribution"
)
&& (
MAX ( 'Table'[Publication series > ISSN (Print)] ) <> BLANK ()
|| MAX ( 'Table'[Series > ISSN (Electronic)] ) <> BLANK ()
)
),
1,
0
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Not very clear , something like
Type =
[Contribution to journal] in {"Article", "Review article", "Literature review"}
||
( ([Chapter in Book/Report/Conference proceeding] ="Conference contribution")
&&
(Publication series > ISSN (Print) <> blank() || Series > ISSN || (Electronic)<> Blank() )
)
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thanks for your reply. It is complaining of an error but I cannot see why. Any idea?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |