Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi - not a power user and just barely an occasional user. I'm trying to solve this project in some down time. Ultimately I'm looking to replicate a nested IF/SUMIFS statement in BI. And yes, I've already searched the forum for similar solutions, but due to my lack of experience in this program, it was very difficult to follow along.
Scenario: 70k+ rows of data with the following columns. DATE, DAYS FROM TODAY (calculation off of DATE), CAMPAIGN ID, IMPRESSIONS, CLICKS. I'm trying to summarize data into the six following calculations:
This data will then be used with another table that I've already created with a whole different set of data, using the CAMPAIGN ID as the link between the two tables.
Here's what the data looks like (with all of the calculated data I'm looking to replicate):
Since the Excel formauls are essentially all the same, just looking changing the "<31" to equate for the 1/7/30 time frames. Here's the calculation for IMPRESSIONS - 30 DAYS
I'm assuming this can be replicated in BI, I just don't know the correction function to use. Any help to dumb this down for me would be greatly appreciated!
@Anonymous best practice in PowerBI is to add date dimension in your model, there are many topics on how to add date dimension using DAX or power query. Once you have date dimension, all time intelligence related reporting becomes super easy with inbuilt time intellingence DAX functions.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks, @parry2k ! One thing I forgot to add, which I'll do in the OP, is that these calcultions will be looked up via another table, which is why I'm looking for these fields to be added as a calculation to then be related to another data set. Will your suggested solution still be able to help with this?
@Anonymous you need to provide the full picture what you are trying to do. these measures will work depends how your data model look like. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |