We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
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 |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
20 | |
14 | |
11 | |
5 |