Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hey guys.
I'm currently developing some financial reports and I have two tables: Financial_Fact (all events that envolve money in or out) and Financial_Indicators (is my dimension table and got everything about my financial indicators).
There are two types of financial indicators:
- The ones that come directly from my data, so in order to calculate them I just need to sum all the lines that got the respective code of the indicator.
- The ones that are calculated via the ones mentionated here above.
So in order to calculate this "harder" ones this is what I want to do:
I would like to add a column to the "Financial Indicators" table where I would put the respective DAX formula of the indicator.
The problem that persists is to find out some way to bring that formula and apply it. I can only bring the formula as text format. I'm just missing how to aaply each peace of text to become a real formula in my dashboards. Something like an Apply() function.
Does anyone of you got an experience like this one or has any idea how I could solve this question?
Tks for reading !!
Solved! Go to Solution.
DAX does not have a facility to calculate formulas dynamically. You're out of luck here. All measures must be out of necessity programmed up-front. You can't do something like EVAL(DaxFormula) and obtain a result. Won't happen. Sorry.
DAX does not have a facility to calculate formulas dynamically. You're out of luck here. All measures must be out of necessity programmed up-front. You can't do something like EVAL(DaxFormula) and obtain a result. Won't happen. Sorry.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
15 | |
7 | |
6 |