Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everyone,
Could you help me? I wrote three ways to got the same value. I would like to know what is the difference between them, and what is the advantage to using them. Simple situation, just one fact table.
Base value:
Solved! Go to Solution.
@wribeiro No real difference between them, just different ways of doing the same thing. A lot of this is personal preference. There are many that are on the CALCULATE band wagon. I am not one of those people. I have a whole series of articles and videos on this topic.
CALCUHATE - Why I Don't Use DAX's CALCULATE Functi... - Microsoft Power BI Community
https://www.youtube.com/playlist?list=PLoibEIc7heYNZbnY4CTCtg2tjEcMh8WbZ
@Greg_Deckler interesting...
When I first started on PowerBI, I was taught to use CALCULATE and still do but I am slowly moving away from it and preferring to iterate over a virtual table as it is easier to read..
Thanks for sharing your aricle
@wribeiro No real difference between them, just different ways of doing the same thing. A lot of this is personal preference. There are many that are on the CALCULATE band wagon. I am not one of those people. I have a whole series of articles and videos on this topic.
CALCUHATE - Why I Don't Use DAX's CALCULATE Functi... - Microsoft Power BI Community
https://www.youtube.com/playlist?list=PLoibEIc7heYNZbnY4CTCtg2tjEcMh8WbZ
Thank you @Greg_Deckler
This seems like a simple question, but after years working with different BI tools and doing different type of calculations, I am looking for a reason to use calculate. I think it is the most useless function that I have seen if you want to creat a really useful semantic layer. without bias or hardcode.
Thank you for your clarification.
@wribeiro That kind of thinking will get you hate mail. Believe me, I know. I'm certain there is a use case out there somewhere but, yes, you are correct, CALCULATE is generally superfluous. But God forbid you actually say that. It does have the advantage of being able to "stack" your measures and calculate them in different contexts. However, I personally hate that approach as it makes debugging and troubleshooting and absolute nightmare.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
6 |