The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
How to get this calculated fields in power BI
iif(sum([column1])>0,RUNNING_SUM(SUM([column1])), NULL)
I am not able to get iif and running_Sum in poewr BI DAX
Help in this is needed.
Thanks in advance
Solved! Go to Solution.
Hi @asdf1608 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Measure = IF(SUM('Table'[Column1])>0,CALCULATE(SUM('Table'[Column1]),FILTER(ALLSELECTED('Table'),'Table'[Column1])),BLANK())
(3) Then the result is as follows.
You can refer to the similar posts that may be helpful to you:
Tableau to Power BI: Running Total and Other Running Calculations - DataVeld
Calculating % of Total Running Sum along Table (Ac... - Microsoft Power BI Community
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @asdf1608 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Measure = IF(SUM('Table'[Column1])>0,CALCULATE(SUM('Table'[Column1]),FILTER(ALLSELECTED('Table'),'Table'[Column1])),BLANK())
(3) Then the result is as follows.
You can refer to the similar posts that may be helpful to you:
Tableau to Power BI: Running Total and Other Running Calculations - DataVeld
Calculating % of Total Running Sum along Table (Ac... - Microsoft Power BI Community
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
please provide more details along with sample data.
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
5 |