-
Notifications
You must be signed in to change notification settings - Fork 929
Adding visual calc use case. #5218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@edwardpcharles : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
PRMerger Results
|
@davidiseminger - Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
This pull request has been inactive for 14 days. If you're done making changes, don't forget to sign off. See the contributor guide for instructions. If you're still working and want to stop these notifications, apply the "keep-open" label to your PR. However, we don't advise long-running PRs due to the risk of merge conflicts. We'll begin auto-closing stale PRs in September 2021. Thank you! |
@davidiseminger - Could you review this proposed update to your article and enter Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making these changes! It looks really good, but I have a few comments
|
||
Step 2: Click the “New visual calculation” button under the “Home” Tab: | ||
|
||
:::image type="content" source="media/desktop-visual-calculations-overview/desktop-visual-calculations-hex-example-02.png" alt-text="Screenshot of the button to create a visual calc in the Power BI Home Tab"::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
visual calc --> visual calculation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please replace visual calc with visual calculation everywhere.
|
||
:::image type="content" source="media/desktop-visual-calculations-overview/desktop-visual-calculations-hex-example-02.png" alt-text="Screenshot of the button to create a visual calc in the Power BI Home Tab"::: | ||
|
||
Step 3: Write your visual calc. Here is a if statement to return either green or red based on a measure being more then .5: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if --> IF
:::image type="content" source="media/desktop-visual-calculations-overview/desktop-visual-calculations-hex-example-03.png" alt-text="Screenshot of DAX code listed out below in the visual calac editor"::: | ||
|
||
```dax | ||
Conditional Hex Code = if([Progress]>.5,"#00FF00","FF0000") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update DAX code to: Conditional Hex Code = IF ( [Progress] > .5, "#00FF00", "FF0000" )
|
||
:::image type="content" source="media/desktop-visual-calculations-overview/desktop-visual-calculations-hex-example-05.png" alt-text="Screenshot of the formatting pane showing you should apply a data type to your visual calc of text"::: | ||
|
||
Step 6: Before Exiting the Visual Calc editor click the eyeball next to the visual calc in the build section to hide it: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eyeball --> hide icon
|
||
:::image type="content" source="media/desktop-visual-calculations-overview/desktop-visual-calculations-hex-example-05.png" alt-text="Screenshot of the formatting pane showing you should apply a data type to your visual calc of text"::: | ||
|
||
Step 6: Before Exiting the Visual Calc editor click the eyeball next to the visual calc in the build section to hide it: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Visual Calc --> visual calculations (lowercase as well as not abbreviated)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what this is for? Please add a highlight following the requirements here: https://learn.microsoft.com/en-us/help/contribute/contribute-how-to-format-screenshot#create-a-red-outline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applies to all images where you want to call attention to a specific area
This pull request has been inactive for 14 days. If you're done making changes, don't forget to sign off. See the contributor guide for instructions. If you're still working and want to stop these notifications, apply the "keep-open" label to your PR. However, we don't advise long-running PRs due to the risk of merge conflicts. We'll begin auto-closing stale PRs in September 2021. Thank you! |
@edwardpcharles ping? |
Adding a visual calculation use case. Ideally there would be a completely new page created for visual calc examples that then link to different examples.