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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.