Skip to content

In c# scripting, is there a way to get to the Expression or FormatString for a dataset that is a Power BI dataset? #1148

Discussion options

You must be logged in to vote

Hi @dpesante
You want to evaluate the DAX expression making up the FormatStringExpression, from within a C# script?

var formatString = EvaluateDax(m.FormatStringExpression).ToString();
formatString.Output();

EvaluateDax

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mlonsk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content: script assistance Help on C# scripting
2 participants
Converted from issue

This discussion was converted from issue #945 on October 13, 2023 14:36.