Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply

Share your thoughts on visual calculations (preview)

Hit "Reply" and let us know what you think of visual calculations! To learn more about this feature, please visit the blog post or our documentation.

 

Here are some areas that we'd like to hear about in particular:

  • errors / issues you are experiencing
  • functionality that is missing / does not work as you expected that is not listed as limitations in our documentation.
  • suggestions on governance capabilities
  • sorting behavior of visual and visual matrix

Thanks and we look forward to hearing your feedback!

141 REPLIES 141

thank you. we are working through the export story at the moment, so this is really useful input.

 

Hidden is a prime example of that.

 

For me this discussion is similar to the one we had when windowing functions were new.  With the difference that those do allow you to reach back into the data model.

 

Is it already mentioned anywhere that hiding fields only seems to be possible with On-Object enabled?

that's not supposed to happen. I can hide fields fine without on-object on. Can you show a screenshot?

Oh.  You can only hide the visual calculations, not the other columns?

 

lbendlin_0-1708983658838.png

lbendlin_1-1708983689943.png

lbendlin_2-1708983756577.png

 

 

you can't hide columns that are used as groups, but you can hide numerical columns (implicit measures, explicit measures, calculated columns and visual calculations)

How do you hide calculated columns? When creating a table visual, I am only able to hide a calculated column if it is aggregated (for example choosing Count or Average instead of Don't summarize) even if the calculated column returns a numeric value. I can hide measures and visual calculations just fine, though.

I get it. No, you can't hide an unaggregated calculated column, because that is then being used as a group not a detail. if you add an max aggregation for example you can hide it just fine. the core difference is not that this is a calculated column, it's about how you use it: a group vs a detail. You can't hide grouping columns.

jbas
Frequent Visitor

First of all, what a great feature! I have been waiting for this, for a long time. Well done!

 

Right now it seems that I am not able to reference any of my measures of the model in my visual calculation.

 

I would like to be able to add a calculation that is only used in the specific visual. 

 

For instance, I have a measure [Turnover] in my model. I have a table that needs to show turnover / 1000 per region. 

Right now I have to add the [Turnover] measure to the table and hide it. Then create a visual calculation: Turnover / 1000.

 

Would be a lot easier, if I could just use the [Turnover] measure in my visual calculation straight away.

Hello and thanks for checking in. What you mention is in fact by design and kind of the point of this feature. You can't refer back to the model because it would bring back the complexities we're trying to "leave outside". Just bringing in the measure easily resolves this as you have discovered.

Thanks for your reply. I totally understand that you are trying to hide the complexity. I actually expected that you would give me the "by design" answer. 😊

 

However, I do feel that it has added value to be able to reference the measure from the model. Perhaps a new function could still hide the complexity, but allow expert users to use measures from the model. This way you don't have to pollute the visual with columns you have to hide.

 

For instance take the following visual calculation : MEASUREFROMMODEL('[Turnover]') / 1000

 

The MEASUREFROMMODEL function allows me to get a measure from the model. This way you still hide the complexity from basic users, but an advance user can get measure from the model.

maybe, but explaining the result of what MEASUREFROMMODEL would return is hard to do, which is the beauty of visual calcs.

TinaM
Regular Visitor

This visual calculation is a very cool feature, but I am not seeing the icon to hide any of the fields in my visual.

hello Tina,

 

thanks for checking in. The icon to hide fields should be shown in the visual calculations edit mode in the "Build a visual pane":

 

jeroenterheerdt_0-1708629946187.png

 

Please let me know if you can't find it there.

Never mind...I did find it.  Sorry, I didn't have it in the edit calculation mode.

great, thanks for letting me know!

Pim_7890
New Member

  1. Geen mogelijkheden om het format van de meting aan te passen.
    Dit moet nu aangepast worden met FORMAT().
  2. Geen mogelijkheid voor voorwaardelijke opmaak van cellen.
    Dus geen mogelijkheid voor bijvoorbeeld een stoplicht-opmaak of iets dergelijks.
  3. Geen mogelijkheid voor berekeningen met meerdere tabellen zoals RELATED().

hello Pim, thanks for your feedback. #1 and #2 are on the list of limitations published here.
#3 is by design. You cannot refer back to the model because you are no longer in the model. This is a core design artefact of visual calculations which makes your life easier (you don't have to worry about what makes DAX so hard because you are no longer in the model). If you want you can easily bring those columns from other tables into the visual, hide them from view so you can refer to them using visual calculations. I hope that helps.

back_to_sql
New Member

Hi! 

would be cool to be able to specify the orderby parameter of the running calculations. I don't think it's currently possible, or?

Other way to solve this would be to always take the sorting of the table. Right now the runningsum() function will sort by the category by default, and when you sort the table by a metric, the running sum doesn't adjust to the new sorting. 

 

Great addition though!

Hello @back_to_sql ,

from the limitations on this feature is the following : 

  • You can't change the sort order for visual calculations.

check the list of limitations https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-visual-calculations-overview

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




CarlosAzabacheS
New Member

It would be interesting to be able to have these calculated fields and with them create the necessary measures from the matrix we generate. Having it only in the control leaves me halfway, for example, how do I calculate the GINI, which is the result of the maximum value of a column from the matrix?

I am not sure I understand your question. If you have the column in your matrix you can just write MAX([Column]) to get the max of the column in a visual calculation. Does that help?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.