Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi, I have been playing around a small dataset (plz see attached) for a while, but still could not figure out a way to calculate the revenue projection # correctly. I think the problem comes from one of the embedded filters (Bill_status) in the measures. This built-in filter is also used as a page-level filter.
The final output number is off.
The correct number for each clinic should be:
Here is the data modeling:
Here is the link to the PBIX file and test data file: https://drive.google.com/drive/folders/1AeaopCL63JdzBw0BkWkDbF0ShyNpZwwB?usp=sharing
Thank you again for you help!
@Anonymous there are too many measures in the question and business logic all over the place. To narrow down the issue, break down each measure and check which measure is not giving the correct result and then provide the details on that so that is a more focused approach.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
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.
@parry2k Thanks for the suggestion! I actually do not have an exact term to describe the problem. I believe the issue stems from the revenue projection formula. I thnk the problem boils down to: I need to have the Bill_Status =='CLOSED" static in calculating dyn_Avg_Payment_Paid_Visit and Dyn_Percent_Paid_Pad. In the meanwhile, I need the page-level filter - Bill_Status to be dynamic when I calculate revenue projection. Is there a way to tackle this?
I am breaking down the issue below.
Below is a list of the measures I developed (under the _Measures Table):
The output numbers from above measures are all fine.
However, when I calculate the revenue projection, that’s when the problem comes up:
Both Dyn_Avg_Payment_Paid_Visit and Dyn_Percent_Paid_Pat need Bill_Status to be set as Closed.
However, in order to calculate the correct revenue projection number, I need to select all the options of Bill_Status. Right now, the page-level Bill_Status filter does not work.
The problem boils down to: I need to have the Bill_Status =='CLOSED" static in calculating dyn_Avg_Payment_Paid_Visit and Dyn_Percent_Paid_Pad. In the meanwhile, I need the page-level filter - Bill_Status to be dynamic when I calculate revenue projection. Is there a way to tackle this? Thank you.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
113 | |
72 | |
65 | |
46 |