Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I am very inexperienced with DAX and I get confused when I try to create a measure and I cant reference a coulmn from a table that I want.
For example if i want to use an "If" Statement with a date it wont let me reference the date column or the date table.
Solved! Go to Solution.
If you reference a column in a measure, you must wrap the column in an aggregation function like MIN, MAX, SUM, AVERAGE, etc.
Why bother having a DAX function named TRIM() if it cannot find any text column that you supply? What is the point?
If you reference a column in a measure, you must wrap the column in an aggregation function like MIN, MAX, SUM, AVERAGE, etc.
Hello,
I have a question concerning your solution. I want to get the value of "visit24hrs" for today for each title in my report. I now used this formula:
@Greg_Deckler I have the same issue but I'm not sure I understand your solution.
I'm trying to use Switch(True() to have conditions on a date column before some calculations, but it's not working as you can see below:
What does it mean to wrap them? I am having this issue as well.
you have to do it like that:
Measure = sume(table[column])
Any idea if there's a similar solution for string/text values?
I'm having a lot of trouble with creating logical expressions based on text in measure fields.
Thanks for the reply, that makes a lot of sense now
Where is the solution to this? Having the same problem.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
13 | |
12 |