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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all again a dump question from my side, I am trying to create a measure & i see that certain functions such as sum i am able to see all tables available howver if i you conditional statements I am only able to see quick measure tables only
Eg
Solved! Go to Solution.
Hi, @ramhariessentia
According to your description, I think this is because of the difference between the two DAX functions.
When you used Sum() function, you can place any column or measure in it, and the result of this expression can calculate the sum of it.
When you used the Switch() function, if you used the True() as the first parameter, the value of the second parameter should be a true/false type.
As a result, the DAX expression should be like this:
Total=SWITCH(True(),Transactions[Fee name ID]=1,result,other result)
More info about the Switch() function
More info about the Sum() function
Thank you very much!
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @ramhariessentia
According to your description, I think this is because of the difference between the two DAX functions.
When you used Sum() function, you can place any column or measure in it, and the result of this expression can calculate the sum of it.
When you used the Switch() function, if you used the True() as the first parameter, the value of the second parameter should be a true/false type.
As a result, the DAX expression should be like this:
Total=SWITCH(True(),Transactions[Fee name ID]=1,result,other result)
More info about the Switch() function
More info about the Sum() function
Thank you very much!
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!