Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
WinYit
Frequent Visitor

How to make a calculation

Hi,

WinYit_0-1671595248889.png

May I know how to add another row to make the addition calculation.

If 0 + unlimited, the result show unlimited. 

5 REPLIES 5
pottsbi
Frequent Visitor

I'm not too sure what exactly is being asked but I will answer the best I can. You want to add a row to that table that returns unlimited if the value in column a is "0" and the value in column b is "unlimited"? If so, I would just make a measure and add that to the table. The measure would be something like 

Measure Name = If(AND(Table['Column A'] = "0", Table['Column B'] = "Unlimited"),
                  "Unlimited",
                  "Else Value"
                )

This is assuming both fields are of type string

Here is the result that I want:

This pic I did with excel, I want it, especially the yellow part perform at Power BI

WinYit_0-1671603718579.png

 

Did you try with the measure I suggested?

Mahesh0016
Super User
Super User

can you share sample output in table format?

Actually, I am making a report from old report system into Power BI.

The picture below are the old report system:

WinYit_0-1671596308999.png

However, I have been asked to the Add Calculation between carry foward(bring forward) and SLa only.

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.