The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |